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: Processing a DCC
Authorization
DCC
AuthorizationEndpoint:
- Production:POSThttps://api.cybersource.com/pts/v2/payments
- Test:POSThttps://apitest.cybersource.com/pts/v2/payments
Request
{ "clientReferenceInformation": { "code": "test_auth" }, "paymentInformation": { "card": { "number": "4111111111111111", "expirationMonth": "12", "expirationYear": "2031" } }, "orderInformation": { "amountDetails": { "totalAmount": "102.21", "currency": "USD", "exchangeRate": "1.0221", "originalAmount": "100", "originalCurrency": "EUR", "currencyConversion": { "indicator": "1" } }, "billTo": { "firstName": "John", "lastName": "Doe", "address1": "1 Market St", "locality": "san francisco", "administrativeArea": "CA", "postalCode": "94105", "country": "US", "email": ", "phoneNumber": "4158880000" } } }
Response for a Successful Request
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/6848808151946385503955/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/6848808151946385503955" }, "capture": { "method": "POST", "href": "/pts/v2/payments/6848808151946385503955/captures" } }, "clientReferenceInformation": { "code": "test_auth" }, "id": "6848808151946385503955", "orderInformation": { "amountDetails": { "authorizedAmount": "102.21", "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "processorInformation": { "systemTraceAuditNumber": "111623", "approvalCode": "831000", "merchantAdvice": { "code": "01", "codeRaw": "M001" }, "responseDetails": "ABC", "networkTransactionId": "016153570198200", "retrievalReferenceNumber": "314322111623", "consumerAuthenticationResponse": { "code": "2", "codeRaw": "2" }, "transactionId": "016153570198200", "responseCode": "00", "avs": { "code": "Y", "codeRaw": "Y" } }, "reconciliationId": "6848808151946385503955", "status": "AUTHORIZED", "submitTimeUtc": "2023-05-23T22:26:55Z" }