Request
URL:
https://api.cybersource.com
/pts/v2/payments
{ "clientReferenceInformation": { "code": "TC50171_3" }, "paymentInformation": { "card": { "number": "4111111111111111", "expirationMonth": "12", "expirationYear": "2031" } }, "orderInformation": { "amountDetails": { "totalAmount": "102.21", "currency": "INR" }, "billTo": { "firstName": "Sumar", "lastName": "Kumar", "address1": "Bagmane WTC", "locality": "Bangalore", "administrativeArea": "KA", "postalCode": "560048", "country": "IN", "email": "test@test.com", "phoneNumber": "7606160717" } } }
Response
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/6482343863386805804004/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/6482343863386805804004" }, "capture": { "method": "POST", "href": "/pts/v2/payments/6482343863386805804004/captures" } }, "clientReferenceInformation": { "code": "TC50171_3" }, "id": "6482343863386805804004", "orderInformation": { "amountDetails": { "authorizedAmount": "102.21", "currency": "INR" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "pointOfSaleInformation": { "terminalId": "111111" }, "processorInformation": { "approvalCode": "888888", "networkTransactionId": "123456789619999", "transactionId": "123456789619999", "responseCode": "100", "avs": { "code": "X", "codeRaw": "I1" } }, "reconciliationId": "74673184C10Z9JYR", "status": "AUTHORIZED", "submitTimeUtc": "2022-03-25T18:53:06Z" }