Authorization
Authorization
Authorization transaction confirms that the Buyer has provided valid payment information and reserves sufficient funding to perform the transaction.
Following a successful Authorization transaction, you will receive a confirmation with the transaction identifier numberTransactionID":"1010000000139894". Use this identifier as a parent transaction identifier (OriginalTransactionId) for all subsequent transactions that derive from the current transaction.
Authorizations may also serve to reserve an amount of money on a credit card balance for security and verification purposes until the actual Deposit transaction is executed.
Authorization transaction may be followed by:
Void (Cancel Authorization) transaction. In this type of transaction, the amount reserved by the Authorization transaction is being released back to the credit card balance.
Released funds are previously reserved funds that now have become available.
Partial Void (Partial Cancel Authorization) transaction. This transaction involves the partial release of the amount reserved by the parent Authorization transaction.
Capture transaction. Capture transaction transfers the previously reserved amount from the buyer’s bank account to the acquirer bank account.
Request Parameters
| Name | Type | Required | Description | |
| accountId | integer | ✓ | platform account identifier. must be greater than 0. | |
| amount | decimal | ✓ | transaction amount. value ≥ 0 (2 decimal places) | |
| billingAddress | object | optional | user billing address data object. | |
| billingOverride | object | optional | data object that contains an array of billingfee objects. | |
| creditCard | object | conditional | credit card data object. required if payment method = creditcard; | |
| ach | object | conditional | ach data object. required if payment method = ach. | |
| currency | enum | ✓ | currencyTypeId. Available Values:
| |
| merchantData | object | optional | merchant data data object. | |
| entryMode | integer | optional | nullable transaction entry mode numerical value. | |
| paymentMethod | enum | ✓ | paymentMethodTypeId. creditcard – 0 credit card payments ach – 1 ach payments | |
| processorData | object | optional | processor data data object. | |
| subAccountId | integer | ✓ | sub-account identifier.value ≥ 0 | |
| terminalId | string | optional | terminal identifier. maxlength(20) | |
| transactionMethod | enum | optional | transactionmethodid. Available Values:
| |
| type | enum | ✓ | transactiontypeid.authorization | |
| threeDSecure | object | optional | 3D-Secure data object..authorization |
Request example
{
"accountId": "Platform Account Id",
"amount": 13,
"billingAddress": {
"addressLine": "Address",
"city": "City Name",
"country": "USA",
"email": "email@mail.com",
"phoneNumber": "12346879",
"state": "FL",
"zipPostalCode": "123465798"
},
"billingOverride": [
{
"fixedAmount": "feeFixedAmount",
"id": "objectId",
"percentageAmount": "feePercentageAmount",
"sourceId": "feeSourceIdentifier",
"sourceType": "BillingAccountId",
"targetId": "feeTargetIdentifier",
"targetType": "BillingAccountId",
"reverse": "true",
"billingAmount": "billingAmountValue"
}
],
"creditCard": {
"bin": "411111",
"expirationDate": "1220",
"last4": "1111",
"nameOnCard": "Eleanor Johansson",
"type": "Visa"
},
"currency": "USD",
"merchantData": {
"freeText": "string",
"transactionDate": "dateTime",
"transactionDescription": "string",
"transactionId": "string"
},
"entryMode": "2",
"paymentMethod": "CreditCard",
"processorData": {
"authorizationNumber": "01919Z",
"errorCode": "",
"errorCodeDescription": "",
"transactionId": "1234567891"
},
"status": "Processed",
"subAccountId": "Sub-Account Id",
"terminalId": "string",
"transactionMethod": "RegularTransaction",
"type": "Authorization"
}
"threeDSecure": {
"eci": "7",
"xid": "857e2347c329eec31c75",
"cavv": "645sd54ad5a5sd65",
"token": "8e86aef68037e8849980"
}