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 Legacy Token
Request
{ "clientReferenceInformation": { "code": "RTS-Auth" }, "paymentInformation": { "legacyToken": { "id": "7030000000014911515" } }, "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "1.00" } }, "processingInformation": { "capture": "false", "commerceIndicator": "internet" } }
Successful Response
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/credits/6777870847736270903954/voids" }, "self": { "method": "GET", "href": "/pts/v2/credits/6777870847736270903954" } }, "clientReferenceInformation": { "code": "RTS-Auth" }, "creditAmountDetails": { "currency": "USD", "creditAmount": "1.00" }, "id": "6777870847736270903954", "orderInformation": { "amountDetails": { "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "processorInformation": { "paymentAccountReferenceNumber": "V0010013019326121174070050420", "approvalCode": "888888", "responseCode": "100" }, "reconciliationId": "61854023HEO0IGGE", "status": "PENDING", "submitTimeUtc": "2023-03-02T19:58:05Z" }