Skip to main content
POST
/
api
/
v1
/
business
/
payment
/
session
Create a checkout session
curl --request POST \
  --url http://localhost:3001/api/v1/business/payment/session \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{}'
{
  "success": true,
  "data": {
    "sessionId": "<string>",
    "status": "<string>",
    "checkoutUrl": "<string>",
    "threeDsUrl": "<string>",
    "paymentId": "<string>",
    "transactionId": "<string>",
    "error": "<string>",
    "expiresAt": "2023-11-07T05:31:56Z",
    "amount": 123,
    "currency": "<string>",
    "availableMethods": [
      {
        "provider": "<string>",
        "isActive": true,
        "supportedCurrencies": [
          "<string>"
        ]
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

x-api-key
string
required

Body

application/json

The body is of type object.

Response

Checkout session created

success
boolean
required
Example:

true

data
object
required