Skip to main content
POST
/
customers
/
{id}
/
wallets
Create a new wallet asset for a customer
curl --request POST \
  --url https://api.polygon.technology/v0.9/customers/{id}/wallets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "asset": "<string>",
  "chain": "<string>"
}
'
{
  "address": "<string>",
  "asset": "<string>",
  "chain": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "customerId": "<string>",
  "id": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Token from POST /auth/token

Headers

Idempotency-Key
string
required

Required on POST and PUT requests. Use a unique value per logical mutation attempt, for example a UUID.

Path Parameters

id
string
required

Body

application/json
asset
string
required
chain
string
required

Response

201 - application/json

The request has succeeded and a new resource has been created as a result.

address
string
asset
string
chain
string
createdAt
string<date-time>
customerId
string
id
string
object
enum<string>
Available options:
wallet
status
enum<string>
Available options:
active,
suspended,
closed
type
enum<string>
Available options:
internal,
external
updatedAt
string<date-time>