API Reference2026-02-19.previewGateway

Fetches an action

POST
/v1/gateway/payment/{id}/fetch

Authorization

headerApi-Key<token>

Path Parameters

id*string

Payment ID

Header Parameters

Api-Key?string|null
App-Id?string|null
Client-Id?string|null
WCP-Version?string|null
Sdk-Name?string|null
Sdk-Version?string|null
Sdk-Platform?string|null

Request Body

application/json
  1. body
data*string

Extra build payload

optionId*string

ID of the option to build an action for

Response Body

Action built successfully

application/json
  1. response
actions*array<|>
curl -X POST 'https://api.pay.walletconnect.com/v1/gateway/payment/pay_7fa2ecc101ARZ3NDEKTSV4RRFFQ69G5FAV/fetch' \  -H 'Content-Type: application/json' \  -d '{  "data": "string",  "optionId": "string"}'
{  "actions": [    {      "data": {        "chain_id": "string",        "method": "string",        "params": [          null        ]      },      "type": "walletRpc"    }  ]}