Menu

REST Example: Authorizing a JPO Combination Payment

This example shows an authorization request for a card-not-present Integrated bonus and installment payment that uses Japanese payment options (JPO). The first installment is paid in June, and 12 payments will be made.
Endpoint:
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/payments
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/payments
Request
{ "orderInformation": { "billTo": { "country": "US", "lastName": "Kim", "address1": "201 S. Division St.", "postalCode": "48104-2201", "locality": "Ann Arbor", "administrativeArea": "MI", "firstName": "Kyong-Jin", "email": "" }, "amountDetails": { "totalAmount": "100.00", "currency": "jpy" } }, "paymentInformation": { "card": { "expirationYear": "2031", "number": "4111111111111111", "expirationMonth": "12", "type": "001" } }, "processingInformation": { "japanPaymentOptions": { "businessName": "我社", "businessNameAlphaNumeric": "OurStore", "businessNameKatakana": "わが社の場合", "firstBusinessMonth": "05", "installments": "12", "paymentMethod": "80" } } }
Response for a Successful Request
{ "_links" : { "authReversal" : { "method" : "POST", "href" : "/pts/v2/payments/6843585327946622203059/reversals" }, "self" : { "method" : "GET", "href" : "/pts/v2/payments/6843585327946622203059" }, "capture" : { "method" : "POST", "href" : "/pts/v2/payments/6843585327946622203059/captures" } }, "clientReferenceInformation" : { "code" : "RTS-Auth" }, "id" : "6843585327946622203059", "orderInformation" : { "invoiceDetails" : { "salesSlipNumber" : "56311" }, "amountDetails" : { "authorizedAmount" : "100", "currency" : "jpy" } }, "paymentAccountInformation" : { "card" : { "type" : "001" } }, "paymentInformation" : { "tokenizedCard" : { "type" : "001" }, "card" : { "type" : "001" } }, "processorInformation" : { "salesSlipNumber" : "56311", "approvalCode" : "123456", "cardVerification" : { "resultCode" : "3" }, "responseCategoryCode" : "000", "forwardedAcquirerCode" : "Sumitomo", "avs" : { "code" : "2" } }, "reconciliationId" : "0020230518062213000000000001", "status" : "AUTHORIZED", "submitTimeUtc" : "2023-05-17T21:22:13Z" }
Back to top