On This Page
REST Example: Creating an eCheck Token and Processing an eCheck Transaction
Request
{ "paymentInformation": { "paymentType": { "name": "check" }, "bank": { "routingNumber": "071923284", "account": { "number": "12345678901234567", "type": "C" } } }, "clientReferenceInformation": { "code": "TC1-060" }, "processingInformation": { "actionList": [ "TOKEN_CREATE" ], "actionTokenTypes": [ "customer" ] }, "orderInformation": { "billTo": { "country": "US", "firstName": "John", "lastName": "Doe", "phoneNumber": "2053040804", "address1": "12th Ave", "postalCode": "98105", "locality": "Seattle", "administrativeArea": "WA", "email": "[email protected]" }, "amountDetails": { "currency": "USD", "totalAmount": "10.20" } } }
Response
{ "id": "7271075033691234567890", "reconciliationId": "0TT46FR91BDT7Y6", "submitTimeUtc": "2024-09-23T16:05:04Z", "status": "PENDING", "clientReferenceInformation": { "code": "TC1-060" }, "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": “10.20" } }, "paymentInformation": {}, "tokenInformation": { "instrumentIdentifierNew": “false”, "customer": { "id": "22CC4C8BCC82EE54E0634136CF0A86E8" }, "instrumentIdentifier": { "id": "E8C05D69D9C53AB1E0534136CF0AF328", "state": "ACTIVE" }, "paymentInstrument": { "id": "22CC4C8BCC8AEE54E0634136CF0A86E8" } } }