Stand-Alone Credits with Card Data
WARNING
Follow these guidelines to prevent unauthorized credits.
A
stand-alone credit
is a credit that is not linked to a capture. There is
no time limit for requesting a stand-alone credit. When a request for a credit is successful, the issuing bank for the payment card takes
money out of your merchant bank account and returns it to the customer. It usually takes
two to four days for your acquiring bank to transfer funds from your merchant bank
account.
Carefully control access to the credit service. Do not request this service directly from
your customer interface. Instead, incorporate this service as part of your customer
service process.
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/credits/Test:
POST
https://apitest.cybersource.com
/pts/v2/credits/Example: Stand-Alone Credit with Card Data
Request
{ "clientReferenceInformation": { "comments": "CREDIT Automatic or CREDIT Manual", "code": "10000599", "transactionId": "20000599", "partner": { "thirdPartyCertificationNumber": "BPCDRC220403", "solutionId": "548UHQ8Z" } }, "paymentInformation": { "card": { "number": "476173XXXXXXXXXX", "expirationMonth": "12", "expirationYear": "2024", "type": "001" } }, "orderInformation": { "amountDetails": { "totalAmount": "20.00", "currency": "EUR" } } }
Response to a Successful Request
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/credits/6508884042856584104004/voids" }, "self": { "method": "GET", "href": "/pts/v2/credits/6508884042856584104004" } }, "clientReferenceInformation": { "code": "10000599", "partner": { "solutionId": "548UHQ8Z" }, "transactionId": "20000599" }, "creditAmountDetails": { "currency": "EUR", "creditAmount": "20.00" }, "id": "6508884042856584104004", "orderInformation": { "amountDetails": { "currency": "EUR" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "processorInformation": { "approvalCode": "831000", "networktransactionId": "016153570198200", "retrievalReferenceNumber": "211512164958", "responseCode": "00" }, "reconciliationId": "6508884042856584104004", "status": "PENDING", "submitTimeUtc": "2022-04-25T12:06:44Z" }