Invincible Pay
Checkout

Create checkout

Create a checkout: the Interac request is made at once and its direct link returned in paymentUrl, for you to send the buyer to. The buyer has 48 hours to pay. A checkoutCompleted webhook is sent when they do, and a checkoutExpired webhook if they don't. Safe to repeat: the same externalId and details return the same checkout while its link is live.

POST
/v1/checkout

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

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