v1

latestOpenAPI 3.0.02026-07-262561105.1 KB
Checkout

Direct

Generate a redirect checkout link on the fly. Manage and share communications with your customers with your own infrastructure.

post/checkout/direct

Request body

totalinteger

The total amount in cents of the purchase.

order_idstring

The merchant id for this order.

tax_amountinteger

The shipping tax amount.

Example request

{
  "billing": {
    "address": {
      "city": "San Francisco",
      "country": "USA",
      "line1": "123 Example Street",
      "line2": "Apt 123",
      "state": "CA",
      "zipcode": "94107"
    },
    "phone_number": "1234567890",
    "email": "test@example.com"
  },
  "total": 20000,
  "order_id": "A1B2C3D4",
  "tax_amount": 700,
  "shipping": {
    "name": {
      "full": "John Doe",
      "first": "John",
      "last": "Doe"
    },
    "address": {
      "city": "San Francisco",
      "country": "USA",
      "line1": "123 Example Street",
      "line2": "Apt 123",
      "state": "CA",
      "zipcode": "94107"
    },
    "email": "test@example.com",
    "phone_number": "1234567890"
  }
}

Response

HTTP 200 OK