---
title: "Wallet Initialisation"
method: POST
path: "/v1/charges/wallet"
---

# Wallet Initialisation

`POST /v1/charges/wallet`

Create a wallet token used to initialise a digital wallet in the Client SDK

## Headers

- `x-user-secret-key` string, required
- `Content-Type` string, required

## Request body

- object
  - `amount` string, required
  - `currency` string, required — Currency must always be set to AUD
  - `reference` string — The reference identifier for the transaction
  - `description` string — A manually defined description for payments in payment systems
  - `customer` object, required
    - `payment_source` object
      - `gateway_id` string — The gateway ID of the gateway being used for this transaction. I.e. The PowerBoard gatewayID of mastercard service
      - `vault_token` string — The vault token of a customer
      - `vault_token_reference` string
      - `card_name` string — The name of the cardholder
      - `card_number` string — The card number of the card being used in the charge
      - `expire_month` string — The expiry month of the card
      - `expire_year` string — The expiry year of the card
      - `card_ccv` string — The CCV of the card
      - `address_line1` string — Customer's address line1
      - `address_line2` string — Customer's address line2
      - `state` string — Customer's address state
      - `country` string — Customer's address country
      - `city` string — Customer's address city
      - `postcode` string — Customer's address postcode
    - `customer_id` string — The customer ID
    - `first_name` string — The first name of the customer
    - `last_name` string — The last name of the customer
    - `email` string — The customer's email
    - `phone` string — The customer's phone number
    - `reference` string — The customer's reference identifier
  - `items` object[] — Items array relevant for afterpay transactions
    - `name` string
    - `type` string
    - `quantity` string
    - `item_uri` string
    - `image_uri` string
    - `amount` string
  - `shipping` object
  - `meta` object — The meta information for Wallet initialisation (required for Apple Pay)
    - `store_id` string — The store id
    - `store_name` string — The store name (Required for Apple Pay wallet initialisations)
    - object

## Response `200`

200

- object
  - `status` integer
  - `error` unknown
  - `resource` object
    - `type` string
    - `data` object
      - `token` string
      - `charge` object
        - `_id` string
        - `amount` integer
        - `currency` string
        - `reference` string
        - `company_id` string
        - `description` string
        - `type` string
        - `status` string
        - `capture` boolean
        - `authorization` boolean
        - `one_off` boolean
        - `amount_surcharge` unknown
        - `amount_original` unknown
        - `created_at` string
        - `updated_at` string
        - `schedule` object
          - `stopped` boolean
        - `archived` boolean
        - `meta` object
        - `customer` object
          - `payment_source` object
            - `type` string
            - `wallet_type` unknown
            - `gateway_id` string
            - `gateway_name` string
            - `gateway_type` string
        - `transactions` object[]
        - `shipping` object
        - `items` object[]

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/commbank/apis/powerboard-api.md) · [All operations](https://skmtc.dev/commbank/apis/powerboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/commbank/powerboard-api/revisions/2ef3ed32f8c2/schema)
