{
"apiKey": "123ABC0-123ABC0-123ABC0-123ABC0",
"externalId": "Kushki",
"items": [
"Product 1",
"Product 2",
"Product 3"
],
"total": 1000,
"rates": []
}{
"checkoutId": "e8bfb912-c51a-4c62-bb22-876f1f9cc6d1",
"externalId": "Kushki",
"total": "5000.00",
"items": [
"Product 1",
"Product 2"
],
"rates": [
3,
6
],
"description": "Example",
"createdAt": "2024-06-12T03:07:25.049Z",
"updatedAt": "2024-06-12T03:07:25.049Z"
}checkoutId obtained in the response to the following url depending on the environment.| Environment | Url |
|---|---|
| Dev | https://test.paywith.billpocket.com/checkout/{checkoutId} |
| Live | https://paywith.billpocket.com/checkout/{checkoutId} |
Checkout example: https://test.paywith.billpocket.com/checkout/df60ccad-2d72-42fb-a813-5c745f3cd8db
Dev environment.curl --location --request POST '/api/v1/checkout' \
--header 'Content-Type: application/json' \
--data-raw '{
"apiKey": "123ABC0-123ABC0-123ABC0-123ABC0",
"externalId": "Kushki",
"items": [
"Product 1",
"Product 2",
"Product 3"
],
"total": 1000,
"rates": []
}'{
"checkoutId": "e8bfb912-c51a-4c62-bb22-876f1f9cc6d1",
"externalId": "Kushki",
"total": "5000.00",
"items": [
"Product 1",
"Product 2"
],
"rates": [
3,
6
],
"description": "Example",
"createdAt": "2024-06-12T03:07:25.049Z",
"updatedAt": "2024-06-12T03:07:25.049Z"
}