Checkout Auth
Generate a token for checkout flow
Required scopes
This endpoint requires the following scopes:
- : Create checkout tokens
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Body
customer_idstringRequired
invoice_idstringRequired
Responses
201
Created
application/json
expires_atintegerOptional
tokenstringOptional
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
post/checkout-auth/init
POST /checkout-auth/init HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"customer_id": "text",
"invoice_id": "text"
}{
"expires_at": 1,
"token": "text"
}Last updated
Was this helpful?
