FILTER BY TAG

REST Example: Processing a Credit with Level II Data

Request
{ "clientReferenceInformation": { "code": "TC50171_3" }, "paymentInformation": { "card": { "number": "41111111XXXXXXXX", "expirationMonth": "12", "expirationYear": "2031" } }, "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "USD" }, "billTo": { "firstName": "John", "lastName": "Doe", "address1": "1 Market St", "locality": "san francisco", "administrativeArea": "CA", "postalCode": "94105", "country": "US", "email": "", "phoneNumber": "4158880000" }, "lineItems": [ { "unitPrice": "99.00", "taxAmount": "1.00", "invoiceNumber": "123456789", "taxDetails": [ { "amount": "1.00" } ] } ] } }
Successful Response
{ "_links" : { "void" : { "method" : "POST", "href" : "/pts/v2/credits/6848592833746991103059/voids" }, "self" : { "method" : "GET", "href" : "/pts/v2/credits/6848592833746991103059" } }, "clientReferenceInformation" : { "code" : "TC50171_3" }, "creditAmountDetails" : { "currency" : "USD", "creditAmount" : "100.00" }, "id" : "6848592833746991103059", "orderInformation" : { "amountDetails" : { "currency" : "USD" } }, "paymentAccountInformation" : { "card" : { "type" : "001" } }, "paymentInformation" : { "tokenizedCard" : { "type" : "001" }, "card" : { "type" : "001" } }, "pointOfSaleInformation" : { "terminalId" : "00092940" }, "processorInformation" : { "merchantNumber" : "000000000001234" }, "reconciliationId" : "52895047", "status" : "PENDING", "submitTimeUtc" : "2023-05-23T16:28:03Z" }