cURL
curl --request POST \ --url https://api.pay.walletconnect.com/v1/gateway/payment/{id}/options \ --header 'Api-Key: <api-key>' \ --header 'Content-Type: application/json' \ --header 'Sdk-Name: <sdk-name>' \ --header 'Sdk-Platform: <sdk-platform>' \ --header 'Sdk-Version: <sdk-version>' \ --data ' { "accounts": [ "<string>" ], "refresh": [ "<string>" ] } '
{ "options": [ { "actions": [ { "data": { "chain_id": "<string>", "method": "<string>", "params": [ "<unknown>" ] }, "type": "walletRpc" } ], "amount": { "display": { "assetName": "<string>", "assetSymbol": "<string>", "decimals": 1, "iconUrl": "<string>", "networkName": "<string>" }, "unit": "<string>", "value": "<string>" }, "etaS": 1, "id": "<string>" } ], "collectData": { "fields": [ { "id": "<string>", "name": "<string>", "required": true, "type": "text" } ] }, "info": { "amount": { "display": { "assetName": "<string>", "assetSymbol": "<string>", "decimals": 1, "iconUrl": "<string>", "networkName": "<string>" }, "unit": "<string>", "value": "<string>" }, "expiresAt": 1, "merchant": { "name": "<string>", "iconUrl": "<string>" }, "status": "requires_action", "buyer": { "accountCaip10": "<string>", "accountProviderName": "<string>", "accountProviderIcon": "<string>" } } }
List available options a wallet can use to complete a payment.
Payment ID
Whether to include payment information in the response
Payment options retrieved successfully
Show child attributes