Skip to content
Wallet Assets

Create a Wallet Asset

POST/api/wallet-assets

This endpoint allows you to create a Wallet Asset.

Request body

  • accountIdrequired string
    The Wallet Asset's owning Centrapay Account id.
  • ledgerIdrequired enum
    Asset Type id used by payment option asset types.
    • centrapay.nzd.main
      A live NZD wallet holding real funds.
    • centrapay.nzd.test
      A test NZD wallet for integration testing, with no real funds.
  • settlementoptional booleanexperimental
    true if the Wallet Asset is a Settlement Wallet Asset.

Responses

Request
curl -X POST https://service.centrapay.com/api/wallet-assets \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '{
"accountId": "Te2uDM7xhDLWGVJU3nzwnh",
"ledgerId": "centrapay.nzd.main",
"settlement": true
}'