Skip to main content

Playground — Live Demo Environment

You can try Paylox integration methods without any setup directly from this page. All demos run in sandbox (test) mode — no real money is charged.


Embedded Checkout — Interactive Sandbox

In the live editor below, experience the Paylox Embedded Checkout integration by coding directly. Edit the HTML code in the left editor, and see the result instantly in the right panel — just like designing your own site.

SandboxWaiting
Checkout options:

Checkout Preview

You will see the real payment form here.
Click the "Create Demo Session" button above to start.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Test Cards:
Mastercard5101385101385104Mastercard5571135571135575Visa4546711234567894SKT12/30CVV000

Test the API from the Terminal

You can test the Paylox API directly by running the following curl commands in your terminal.

1. Create a Session

curl -X POST https://api.jetcheckout.com/api/v1/embedded/session \
-H "Content-Type: application/json" \
-d '{
"merchant_api_key": "ENTER_YOUR_API_KEY_HERE",
"amount": 1000,
"currency": "TRY",
"customer": {
"name": "Test",
"surname": "User",
"email": "[email protected]"
},
"success_url": "https://example.com/success",
"fail_url": "https://example.com/fail"
}'

2. Query Installments

After creating a session, you can query installment options for a card number:

curl -X POST https://api.jetcheckout.com/api/v1/payment/installments \
-H "Content-Type: application/json" \
-d '{
"session_id": "ENTER_SESSION_ID_HERE",
"bin_number": "538888"
}'

3. Query Payment Status

curl -s "https://api.jetcheckout.com/api/v1/payment/status/ORDER_ID?session_id=SESSION_ID"

Test Cards

Test cards you can use in sandbox mode:

Card NumberBrandResult
4543590000000006VisaSuccessful payment
5400360000000003MastercardSuccessful payment
4121111111111119VisaSuccessful payment

For all test cards:

  • Expiry date: 12/30
  • CVC: 000
  • Card holder: Any name

What's Next?

After trying the demos, to move on to real integration: