Skip to main content

Create Wallet

POST /api/payments/create-balance

Create Balance / Wallet in the Pesawise system

Header Parameters
  • api-key string required
  • api-secret string required
Request Body required
  • currency string required

    Currency for the balance

  • name string required

    Name for the balance

  • accountType string required

    Possible values: [CLIENT_ACCOUNT, CLIENT_VIRTUAL_ACCOUNT, CLIENT_SHARED_ACCOUNT, CLIENT_HYBRID_ACCOUNT]

    Type of the account.

Responses

Balance created

Response Headers
  • x-request-id any

    Request Id for traceability

Schema
  • status string required

    Possible values: [SUCCESS, FAILED, API_KEYS_INVALID, INSUFFICIENT_FUNDS, NOT_FOUND, MALFORMED_URL, INTERNAL_ERROR, NOT_SUPPORTED, CURRENCY_NOT_SUPPORTED, MOBILE_MONEY_NOT_WHOLE_NUMBER, BALANCE_NOT_FOUND, BALANCE_NOT_AUTHORISED, BALANCE_NOT_NUMERIC, WEB_HOOK_NOT_SPECIFIED_FOR_OTP, TOKEN_RESENT, CLIENT_SIDE_ERROR]

    Status code

  • detail string

    Detail of the message.

  • balance object
  • status string required

    Possible values: [SUCCESS, FAILED, API_KEYS_INVALID, INSUFFICIENT_FUNDS, NOT_FOUND, MALFORMED_URL, INTERNAL_ERROR, NOT_SUPPORTED, CURRENCY_NOT_SUPPORTED, MOBILE_MONEY_NOT_WHOLE_NUMBER, BALANCE_NOT_FOUND, BALANCE_NOT_AUTHORISED, BALANCE_NOT_NUMERIC, WEB_HOOK_NOT_SPECIFIED_FOR_OTP, TOKEN_RESENT, CLIENT_SIDE_ERROR]

    Status code

  • id int64 required

    Unique identifier of the balance.

  • balanceName string required

    Balance name.

  • balanceAmount double required

    Amount held for this balance.

  • bankAccountNumber string

    Bank Account Number

  • branchCode string

    Branch Code

  • bankName string

    Bank Name

  • bankCode string

    Bank Code

  • active boolean
Loading...