mayarin
GET
/v1/payments/{id}/contract-call

Returns the signed EIP-712 order, the deployed PaymentRouter address and chain, and a fresh executable route for an on-chain-contract payment. A 404 means the contract path is not enabled; a 410 means the quote lock expired — request a new payment.

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/payments/string/contract-call"
{  "chain": "string",  "chainId": "string",  "paymentRouter": "string",  "order": {    "intentId": "string",    "settlementToken": "string",    "minOut": "string",    "fee": "string",    "merchantSafe": "string",    "refundTo": "string",    "deadline": "string"  },  "signature": "string",  "route": {    "router": "string",    "callData": "string",    "expectedIn": "string",    "expiresAt": "string"  },  "transaction": {    "to": "string",    "data": "string",    "value": "string"  },  "payerEstimate": "string",  "expiresAt": "string"}