Create a Deposit Address
This API endpoint generates or retrieves a unique deposit address for a specific user and currency. The returned address can be used by the user to send funds from personal wallets into merchant
Body
Request to get deposit address
currency_idstringRequired
Currency ID, which can be retrieved using supported currencies.
user_reference_idstringRequired
The unique user reference to identify a user for transaction tracking
Responses
200
Deposit address generated
application/json
422
Validation error
application/json
post
/v1/user/deposit/addressPOST /v1/user/deposit/address HTTP/1.1
Host: pgw.stage.pay.io
Content-Type: application/json
Accept: */*
Content-Length: 89
{
"currency_id": "c872e749-fd56-533e-b01f-de87ae38e7f1",
"user_reference_id": "hub_player_2"
}{
"currency": "USD Coin",
"currency_code": "USDC",
"network": "Base Chain",
"wallet_address": "0x1234567890123456789012345678901234567890"
}Last updated