REST Example: Processing a Credit with Level II Data

Request
{ "paymentInformation": { "card": { "number": "41111111XXXXXXXX", "expirationMonth": "03", "expirationYear": "2031" } }, "orderInformation": { "amountDetails": { "totalAmount": "200", "currency": "USD" }, "billTo": { "firstName": "John", "lastName": "Deo", "address1": "900 Metro Center Blvd", "locality": "Foster City", "administrativeArea": "CA", "postalCode": "48104-2201", "country": "US", "email": "", "phoneNumber": "9321499232" } } }
Response to a Successful Request
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/credits/6807043651016112003955/voids" }, "self": { "method": "GET", "href": "/pts/v2/credits/6807043651016112003955" } }, "clientReferenceInformation": { "code": "1680704365197" }, "creditAmountDetails": { "currency": "USD", "creditAmount": "200.00" }, "id": "6807043651016112003955", "orderInformation": { "amountDetails": { "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "processorInformation": { "approvalCode": "831000", "networkTransactionId": "016153570198200", "retrievalReferenceNumber": "309514100806", "responseCode": "00" }, "reconciliationId": "6807043651016112003955", "status": "PENDING", "submitTimeUtc": "2023-04-05T14:19:25Z" }