Menu
- Introduction to Payments
- Standard Payments Processing
- Card Present Connect | Retail Processing
- Card Present Connect | Mass Transit Processing
- Debit and Prepaid Card Processing
- Processing Debit and Prepaid Authorizations
- Airline Data Processing
- Japanese Payment Options Processing
- Processing Payments Using Credentials
- Customer-Initiated Transactions with Credentials on File
- MIT Delayed Transaction with PAN
- MIT Incremental Transaction with PAN
- MIT Reauthorization Transactions with PAN
- MIT Resubmission Transaction with PAN
- Installment Payments
- Recurring Payments
- Unscheduled COF Payments
- Token Management Service Processing
- Introduction to Payments
- Standard Payments Processing
- Card Present Connect | Retail Processing
- Card Present Connect | Mass Transit Processing
- Debit and Prepaid Card Processing
- Processing Debit and Prepaid Authorizations
- Airline Data Processing
- Japanese Payment Options Processing
- Processing Payments Using Credentials
- Customer-Initiated Transactions with Credentials on File
- MIT Delayed Transaction with PAN
- MIT Incremental Transaction with PAN
- MIT Reauthorization Transactions with PAN
- MIT Resubmission Transaction with PAN
- Installment Payments
- Recurring Payments
- Unscheduled COF Payments
- Token Management Service Processing
On This Page
REST Example: Authorizing a Payment with a Non-Default Shipping Address
Endpoint:
- Production:POSThttps://api.cybersource.com/pts/v2/payments
- Test:POSThttps://apitest.cybersource.com/pts/v2/payments
Request
{ "clientReferenceInformation": { "code": "RTS-Auth" }, "paymentInformation": { "customer": { "id": "F45FB3E443AC3C57E053A2598D0A9CFF" }, "shippingAddress": { "id": "F45FD8DE51B99E9CE053A2598D0AFDFA" } }, "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "1.00" } }, "processingInformation": { "capture": "false", "commerceIndicator": "internet" } }
Response for a Successful Request
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/6760633013666830003954/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/6760633013666830003954" }, "capture": { "method": "POST", "href": "/pts/v2/payments/6760633013666830003954/captures" } }, "clientReferenceInformation": { "code": "RTS-Auth" }, "id": "6760633013666830003954", "orderInformation": { "amountDetails": { "authorizedAmount": "1.00", "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "instrumentIdentifier": { "id": "7030000000014911515", "state": "ACTIVE" }, "shippingAddress": { "id": "F45FD8DE51B99E9CE053A2598D0AFDFA" }, "paymentInstrument": { "id": "F45FC6785E3C31A2E053A2598D0A5346" }, "card": { "type": "001" }, "customer": { "id": "F45FB3E443AC3C57E053A2598D0A9CFF" } }, "pointOfSaleInformation": { "terminalId": "111111" }, "processorInformation": { "paymentAccountReferenceNumber": "V0010013019326121174070050420", "approvalCode": "888888", "networkTransactionId": "123456789619999", "transactionId": "123456789619999", "responseCode": "100", "avs": { "code": "X", "codeRaw": "I1" } }, "reconciliationId": "698162204DTIATQ2", "status": "AUTHORIZED", "submitTimeUtc": "2023-02-10T21:08:21Z" }