Retrieve or create a crypto address

This endpoint allows users to create a new blockchain address on a specified network. If an address on that network already exists, the existing address will be returned.

It is expected to be used while performing crypto deposits, the information returned by this endpoint should be made visible to the users for their deposit requests.

SecuritybearerAuth
Request
header Parameters
bp-user-id
required
string <uuid>
Example: 12312312-2be6-4522-977e-ea4d92c45e86
Request Body schema: application/json

The address to be created.

coin_network_id
required
string <uuid>

The coin network ID

Responses
200

Success Response (Subsequent Idempotent Request)

201

Success Response (Created)

401

Unauthorized

403

Forbidden

404

Not Found

422

Validation Error

500

Internal Error

503

Service unavailable

post/v1/crypto-transfers/addresses
Request samples
application/json
{
  • "coin_network_id": "1ede43b2-6f0d-6392-be44-4d7a070c78a7"
}
Response samples
application/json
{
  • "data": {
    }
}