MooPay Open MooPay

Errors

Handle failed requests from the agent API.

Errors come back as JSON with a code and a plain message.

CauseWhat it means
Missing or wrong keySend Authorization: Bearer mpk_....
Key revoked or expiredAsk the owner for a new key.
Over a limitPer payment, daily or total budget is used up.
Not allowedChain, asset or recipient is outside the key's list.
Wrong addressThe key can only be used from listed IPs.
Needs approvalThe owner must confirm in the chat.
429Too many requests. Wait and retry.
Example
{ "code": "INVALID_INPUT", "message": "this agent session has expired" }

Read the message. It is written for people, so you can pass it on.

Need help? support@moopay.cash