Menu
- Manage Webhook Subscriptions
- Customer Tokens
- Manage Customer Tokens
- Shipping Address Tokens
- Customer Payment Instrument Tokens
- Manage Customer Payment Instrument Tokens
- Payment Instrument Tokens
- Manage Payment Instrument Tokens
- Instrument Identifier Tokens
- Manage Instrument Identifier Tokens
- Network Tokens for Partners
On This Page
REST Example: Making a Credit with a Payment Instrument
Request
POSThttps://apitest.cybersource.com/pts/v2/credits { "clientReferenceInformation": { "code": "RTS-Auth" }, }, "paymentInstrument": { "id": "F4D5E715F7BD9910E053A2598D0A7278" } }, "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "1.00" } }, "processingInformation": { "capture": "false", "commerceIndicator": "internet" } }
Successful Response
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/credits/6765711323826105903955/voids" }, "self": { "method": "GET", "href": "/pts/v2/credits/6765711323826105903955" } }, "clientReferenceInformation": { "code": "RTS-Auth" }, "creditAmountDetails": { "currency": "USD", "creditAmount": "1.00" }, "id": "6765711323826105903955", "orderInformation": { "amountDetails": { "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "instrumentIdentifier": { "id": "7010000000016241111", "state": "ACTIVE" }, "paymentInstrument": { "id": "F4D5E715F7BD9910E053A2598D0A7278" }, "card": { "type": "001" }, "customer": { "id": "F4D5E715F75E9910E053A2598D0A7278" } }, "processorInformation": { "approvalCode": "888888", "responseCode": "100" }, "reconciliationId": "60422331QE3AHBZX", "status": "PENDING", "submitTimeUtc": "2023-02-16T18:12:12Z" }