Invincible Pay
Checkout

Create checkout

Initiate a checkout that deposits funds to a specific funding source (wallet).

POST
/v1/checkout

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.invinciblepay.com/v1/checkout" \  -H "Content-Type: application/json" \  -d '{    "amount": "string",    "currency": "CAD",    "expiresIn": 300,    "fundingSourceId": "string"  }'
{
  "accountId": "string",
  "amount": "string",
  "createdAt": 0,
  "currency": "CAD",
  "expiresAt": 0,
  "externalId": "string",
  "fundingSourceId": "string",
  "id": "string",
  "paymentUrl": "string",
  "redirectUrlFailure": "string",
  "redirectUrlSuccess": "string",
  "reference": "string",
  "status": "pending",
  "transactionId": "string"
}
{
  "error": "string",
  "error_code": {}
}