payments_device_assignment
GET
/api/payments/v1/devices/assignment/
const url = 'https://example.com/api/payments/v1/devices/assignment/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/payments/v1/devices/assignment/ \ --header 'Authorization: Bearer <token>'The payment intent handed to this device, or null. Poll with If-None-Match; an unchanged assignment answers 304. Fetching an assignment records it as presented. Every money field is backend-authored — a device never supplies or amends an amount.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
object
assignment
required
object
intent_id
required
integer
intent_display_number
required
integer
order_display_number
required
integer
station_name
required
string
amount
required
string format: decimal
currency
required
string
status
required
string
handoff_target
required
string
expires_at
required
string format: date-time
server_time
required
string format: date-time
Examplegenerated
{ "assignment": { "intent_id": 1, "intent_display_number": 1, "order_display_number": 1, "station_name": "example", "amount": "example", "currency": "example", "status": "example", "handoff_target": "example", "expires_at": "2026-04-15T12:00:00Z" }, "server_time": "2026-04-15T12:00:00Z"}