curl --request POST \
--url https://api.paygentic.io/v0/wallets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"ownedBy": "<string>",
"currency": "<string>",
"timezone": "<string>",
"tag": "<string>",
"initialBalance": "<string>",
"name": "<string>",
"description": "<string>",
"legacy": {
"isConsumer": true,
"orgId": "<string>"
}
}'
{
"id": "<string>",
"object": "wallet",
"ownedBy": "<string>",
"namespace": "<string>",
"balance": 123,
"currency": "<string>",
"timezone": "<string>",
"tag": "<string>",
"createdAt": 123,
"updatedAt": 123,
"name": "<string>",
"description": "<string>"
}
curl --request POST \
--url https://api.paygentic.io/v0/wallets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"ownedBy": "<string>",
"currency": "<string>",
"timezone": "<string>",
"tag": "<string>",
"initialBalance": "<string>",
"name": "<string>",
"description": "<string>",
"legacy": {
"isConsumer": true,
"orgId": "<string>"
}
}'
{
"id": "<string>",
"object": "wallet",
"ownedBy": "<string>",
"namespace": "<string>",
"balance": 123,
"currency": "<string>",
"timezone": "<string>",
"tag": "<string>",
"createdAt": 123,
"updatedAt": 123,
"name": "<string>",
"description": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Wallet created successfully
The response is of type object
.