POST
/
terminal
/
payment-session
Create a payment session
curl --request POST \
  --url https://api.authsignal.com/v1/terminal/payment-session \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 123,
  "reference": "<string>",
  "currency": "<string>"
}'
{
  "challengeId": "ef6b3212-6121-4a9e-92ef-09d819e36e93",
  "status": "PENDING",
  "reference": "xxx-xxx-xxx"
}

Body

application/json
amount
number

The amount intended to be authorized at the terminal.

reference
string

A reference identifier originating from the point of sale system.

currency
string

The currency intended to be authorized at the terminal.

Response

OK

challengeId
string

The ID of the payment session.

status
enum<string>
Available options:
PENDING,
COMPLETED,
EXPIRED,
FAILED
reference
string

A reference identifier originating from the point of sale system.