GET /v1/sandbox/global-payout/accounts/{accountId}

Changed on

Sandbox version of Fetch Global Payout Account. Returns canned account details and balance for the given account ID, for use in testing.

Request

  • Base URL
    https://api.nomba.com
  • URL
    https://api.nomba.com/v1/sandbox/global-payout/accounts/{accountId}
  • Auth
    none declared. Required headers: Authorization, accountId

Path parameters

accountIdstring required
Example:sandbox-acc-cad-001

The wallet id, exactly as returned in the accountId field by GET /v1/sandbox/global-payout/accounts. Any value is accepted in sandbox and is echoed back in the response.

Headers

Authorizationstring required
Example:Bearer <token>

Bearer token for authentication.

accountIdstring required
Example:890022ce-bae0-45c1-9b9d-ee7872e6ca27

The parent accountId of the business.

Response

Account retrieved successfully.

codestring
descriptionstring
statusboolean

Legacy envelope flag. Global Payout endpoints leave it false even on success - read code instead, where 00 means success.

Example response

{
  "code": "00",
  "description": "Success",
  "data": {
    "accountId": "sandbox-acc-cad-001",
    "name": "Sandbox CAD Account",
    "currency": "CAD",
    "balance": 1250.5,
    "availableBalance": 1000.5,
    "status": "ACTIVE",
    "operationRegion": "GLOBAL"
  }
}

Changes