REST Example: Processing an Authorization for a Cash Advance

Request
{ "clientReferenceInformation": { "code": "TC50171rbi_2" }, "processorInformation": { "authorizationOptions": { "panReturnIndicator": "1-E" } }, "orderInformation": { "billTo": { "country": "US", "lastName": "VDP", "address2": "test", "address1": "201 S. Division St.", "postalCode": "48104-2201", "locality": "Ann Arbor", "administrativeArea": "MI", "firstName": "RTS", "phoneNumber": "999999999", "district": "MI", "buildingNumber": "123", "company": "Visa", "email": "" }, "amountDetails": { "totalAmount": "6854.31", "currency": "USD" } }, "paymentInformation": { "card": { "expirationYear": "2031", "number": "555555555555xxxx", "securityCode": "123", "expirationMonth": "12", "type": "002", "useAs": "DB" } }, "buyerInformation": { "personalIdentification": [ { "type": "TAX_ID", "issuedBy": "issuer", "verificationResults": "5" } ] }, "processingInformation": { "authorizationOptions": { "cashAdvanceIndicator": "true" } } }
Response to a Successful Request
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/6557018740636000603187/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/6557018740636000603187" }, "capture": { "method": "POST", "href": "/pts/v2/payments/6557018740636000603187/captures" } }, "clientReferenceInformation": { "code": "TC50171rbi_2" }, "id": "6557018740636000603187", "orderInformation": { "amountDetails": { "authorizedAmount": "6854.31", "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "002" } }, "paymentInformation": { "tokenizedCard": { "type": "002" }, "card": { "hashedNumber": "555555L3JbvR9AWh7QM2q6+F3f62kCqZhKdv2HfDtcw7UIWoI=", "type": "002" } }, "processorInformation": { "systemTraceAuditNumber": "814983", "electronicVerificationResults": { "codeRaw": "01" }, "approvalCode": "831000", "cardVerification": { "resultCodeRaw": "M", "resultCode": "M" }, "merchantAdvice": { "code": "01", "codeRaw": "M001", "nameMatch": "00" }, "networkTransactionId": "MCC6635490620", "retrievalReferenceNumber": "217105814983", "consumerAuthenticationResponse": { "code": "2", "codeRaw": "2" }, "transactionId": "MCC6635490620", "responseCode": "00", "avs": { "code": "Y", "codeRaw": "Y" } }, "reconciliationId": "6557018740636000603187", "status": "AUTHORIZED", "submitTimeUtc": "2022-06-20T05:11:14Z" }