Skip to main content

Get Payment Widget Data

Returns payment data and contract info for the payment widget. Use access_token from payment creation response.

Endpoint: GET /api/v1/widget/payments/{id}

Authentication: Bearer <access_token> (from payment creation, not integration JWT).


Response — 200 OK

{
"external_id": "...",
"node_id": "...",
"network_id": 1,
"deal_id": 123,
"price": 100.0,
"price_decimals": 6,
"payment_address": "...",
"diamond_address": "...",
"currency": "USDT",
"token_address": "...",
"contract": {
"abi": [...],
"function_name": "deposit",
"arguments": [...]
}
}
StatusDescription
401Invalid or expired access token
404Payment not found