POST/users/{userId}/stablecoin/wallet

Stablecoin Wallet Creation

Creates a stablecoin wallet for a user on the specified blockchain. Supported combinations include USDC/PYUSD on ETH and PYUSD on SOLANA.

Path variables

FieldTypeRequiredPossible valuesDescription
userIdstringRequired

Unique user ID.

Headers

FieldTypeRequiredPossible valuesDescription
session-tokenstringRequired

SessionToken obtained from the Create GMA Session endpoint. All secured endpoints require this header.

Request body

FieldTypeRequiredPossible valuesDescription
BlockchainstringRequiredETH | SOLANA

Target blockchain network.

StablecoinCurrencystringRequiredUSDC | PYUSD | USDT

Stablecoin currency to create a wallet for.

Example request

{
  "Blockchain": "ETH",
  "StablecoinCurrency": "USDC"
}

Response

FieldTypePossible valuesDescription
ResponseCodeinteger200 | 201 | 204 | 301 | 400 | 401 | 403 | 404 | 410 | 422 | 500 | 503

API result code in the response envelope. Indicates success or the error category (e.g. 200 success, 400 bad request, 401 unauthorized).

ResponseMessagestringSuccess | Created | NoContent | BadRequest | Unauthorized | Forbidden | NotFound | Gone | UnprocessableContent | ServerError | ResourceMoved | ServiceUnAvailable | UnProcessableEntity

Human-readable label paired with ResponseCode (e.g. Success, BadRequest, Unauthorized). Use with ResponseCode to interpret the outcome.

ResponseDataobjectPlease refer to below example for response body

Newly created stablecoin wallet details including address, blockchain, currency, and wallet ID.

Example response

{
  "ResponseCode": 200,
  "ResponseMessage": "Success",
  "ResponseData": {
    "Address": "0xedc2****...****d44d7",
    "BlockChain": "ETH",
    "Currency": "USDC",
    "Message": "USDC wallet address created successfully"
  }
}

Supported combinations: USDC on ETH, PYUSD on ETH, PYUSD on SOLANA.

Requires `session-token: {SessionToken}` from Create GMA Session. Use the same client IP as authentication.

Search guide books, endpoints, paths, or parameters

↑↓navigateopenEscclose