payments_device_handoff_report
const url = 'https://example.com/api/payments/v1/devices/assignment/report/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"intent_id":1,"outcome":"reported_success","provider_reference":"example","provider_code":"example","client_idempotency_key":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/payments/v1/devices/assignment/report/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "intent_id": 1, "outcome": "reported_success", "provider_reference": "example", "provider_code": "example", "client_idempotency_key": "example" }'Report the outcome the payment application returned for an assigned intent. Idempotent under client_idempotency_key. The intent moves to processing whatever the reported outcome — a device cannot settle or decline money; the cashier attests or cancels on this evidence.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
reported_success- Payment app reported successreported_declined- Payment app reported a declinereported_cancelled- Payment app reported a cancellationreported_unknown- Outcome unknown to the payment app
object
reported_success- Payment app reported successreported_declined- Payment app reported a declinereported_cancelled- Payment app reported a cancellationreported_unknown- Outcome unknown to the payment app
object
reported_success- Payment app reported successreported_declined- Payment app reported a declinereported_cancelled- Payment app reported a cancellationreported_unknown- Outcome unknown to the payment app
Responses
Section titled “Responses”object
A payment application’s reported outcome — evidence, never truth.
Rendered beside the settle affordance so the cashier attests over
machine corroboration instead of a blank field. outcome is machine
vocabulary; clients label it themselves.
object
The collection a companion has been handed. Backend-authored.
Every money field here is order truth snapshotted at creation; a device supplies none of it and can amend none of it.
object
Examplegenerated
{ "report": { "outcome": "example", "provider_reference": "example", "provider_code": "example", "reported_at": "2026-04-15T12:00:00Z" }, "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" }}This deployment cannot store or read protected Handbook content because DJANGO_KNOWLEDGE_CONTENT_KEY is unset or unusable. Answered by the platform exception handler rather than by this endpoint, so any path can return it; retrying does not help until an operator fixes the deployment.
This deployment cannot store or read protected Handbook content because DJANGO_KNOWLEDGE_CONTENT_KEY is unset or unusable. Answered by the platform exception handler rather than by this endpoint, so any path can return it; retrying does not help until an operator fixes the deployment.
object
Example
{ "code": "content_key_missing"}