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 an Airline Refund
Endpoint:
- Production:POSThttps://api.cybersource.com/pts/v2/credits/
- Test:POSThttps://apitest.cybersource.com/pts/v2/credits/
Use this example as a reference for processing an airline refund.
Request
{ "clientReferenceInformation": { "code": "TC50171_3" }, "processingInformation": { "industryDataType": "airline" }, "orderInformation": { "amountDetails": { "totalAmount": "500", "currency": "USD" } } }
Response for a Successful Request
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/refunds/6823038625416445403955/voids" }, "self": { "method": "GET", "href": "/pts/v2/refunds/6823038625416445403955" } }, "clientReferenceInformation": { "code": "TC50171_3" }, "id": "6823038625416445403955", "orderInformation": { "amountDetails": { "currency": "USD" } }, "processorInformation": { "approvalCode": "888888", "responseCode": "100" }, "reconciliationId": "67722608EGMV6Q7V", "refundAmountDetails": { "currency": "USD", "refundAmount": "500.00" }, "status": "PENDING", "submitTimeUtc": "2023-04-24T02:37:42Z" }