Skip to content

List a payment's methods

GET /v1/payments/{id}/methods

Credential: secret key or the payment’s checkout token.

  • With a secret key: every token and network that can be converted to your payouts.
  • With a checkout token: only the methods you accept on the hosted page (the payment’s own accepted tokens, or your Settings → Payment defaults → Accepted tokens).
Terminal window
curl https://api.unizpay.com/v1/payments/pay_01K8Z3M0Q4V7Y2B9C6D1E5F8G3/methods \
-H "Authorization: Bearer $CHECKOUT_TOKEN"
{
"object": "list",
"data": [
{ "token": "USDC", "network": "polygon", "network_name": "Polygon" },
{ "token": "USDT", "network": "polygon", "network_name": "Polygon" },
{ "token": "POL", "network": "polygon", "network_name": "Polygon" }
]
}

Pass a token and network from this list to request a deposit address.