Skip to main content
POST
Create payment session

POST /payment-sessions

Create a partner session with a 32-character token and a five-minute completion window. This endpoint is public. You do not need an API key or employee token. Supported types are coupon, loyalty, status, and points. These values differ from card response values such as couponCard. Open tapcoupon://complete-session?token=YOUR_SESSION_TOKEN on the device running TapCoupon. The employee chooses the amount or points and completes the operation. The create request does not set an amount. Rate limit: 30 requests per minute per IP.

Example request

Example response

Body

application/json
appName
string
required
Maximum string length: 100
callbackUrl
string
required
Maximum string length: 500
supportedCardTypes
enum<string>[]
required
Minimum array length: 1
Available options:
coupon,
loyalty,
status,
points

Response

Success

token
string
required
Required string length: 32