PAY CHECKOUT

This endpoint allows merchants to get payments from customers.
POST

Jeton Checkout
Jeton Checkout's flow is simplest way to get payment from customers. After an initiate request we will return "method" : "CHECKOUT", customer needs to be redirected to our checkout page in order to complete payment on Jeton Wallet's pages. Login and Two-Factor verification steps required in this journey.
HTTP 200 OK

Note

Transaction token will expire in 15 minutes. If the customer is not completed the journey and paid the amount, we will expire the token and change the transaction status to FAILED. After this process , we will send you the IPN.

Request Header

Before sending the request to our endpoint in order to create an payout request. You must set your request header described below.
Key Value *
X-API-KEY YOUR_GIVEN_API_KEY Required
Content-type application/json Required

Request Body

Before sending the request to our endpoint in order to create an initiate payment. You must set your request body described below.

Parameter Description Example Type *
orderId Your transaction identifier. (must be unique) ABC-123 String Required
amount The amount of transaction 10.10 Decimal Required
currency The currency of transaction (ISO 4217) EUR String Required
method CHECKOUT CHECKOUT String Required
returnUrl Customers will be redirected back to this endpoint after purchase or cancelation https://example.com/return String Required
language Language option for checkout page (ISO 639-1) EN String Optional
customer Customer's Jeton Wallet ID number 12345678 String Optional

Request Example

X-API-KEY YOUR_GIVEN_API_KEY
Content-Type application/json

Response Example

  • Status: 200 OK