nodana

Get payment challenge

Retrieve a payment's original MPP or L402 challenge without creating another invoice.

GET/gateway/payments/{id}/challenge

Required permission: Gateway → Read.

Path parameters

idstringRequired

Payment ID returned by Create a payment. Use the same ID for status checks, challenge retrieval and credential validation.

Errors

StatusCodeWhat to do
401unauthorizedCheck your API key and Gateway → Read permission.
404gateway_payment_not_foundUse a payment ID created in the key's account.
410payment_expiredRequest a new payment if the unpaid challenge has expired.

See Error handling for other errors.