Endpoint:
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/payments
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/payments
Request
{ "orderInformation": { "billTo": { "country": "US", "lastName": "Kim", "address1": "201 S. Division St.", "postalCode": "48104-2201", "locality": "Ann Arbor", "administrativeArea": "MI", "firstName": "Kyong-Jin", "email": "test@cybs.com" }, "amountDetails": { "totalAmount": "10.25", "currency": "usd" } }, "paymentInformation": { "card": { "expirationYear": "2031", "number": "4111111111111111", "expirationMonth": "12", "type": "001" }, "processingInformation" : { "linkId" : "6874689599146432803954" } } }
Response for a Successful Authorization
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/6874693858806446603954/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/6874693858806446603954" }, "capture": { "method": "POST", "href": "/pts/v2/payments/6874693858806446603954/captures" } }, "clientReferenceInformation": { "code": "test-auth" }, "id": "6874693858806446603954", "orderInformation": { "amountDetails": { "authorizedAmount": "10.25", "currency": "USD" } }, "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": "642541381J5I0Q09", "status": "AUTHORIZED", "submitTimeUtc": "2023-06-22T21:29:46Z" }