Skip to main content
POST
/
3p
/
api
/
v1
/
bank-account
/
balance
/
{user_uuid}
Get balance approval ( STABLE )
curl --request POST \
  --url https://api.grailpay.com/3p/api/v1/bank-account/balance/{user_uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 2,
  "billing_merchant_user_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "billing_processor_mid": "<string>"
}
'
{
  "status": true,
  "message": "",
  "data": {
    "available_balance": 1000
  },
  "errors": null,
  "error_code": null
}

Authorizations

Authorization
string
header
required

Token-based authentication using Authorization: Bearer <YOUR_API_KEY> provided by the GrailPay Support Team.

Path Parameters

user_uuid
string
required

UUID of the user

Body

application/json
amount
integer
Required range: x >= 1
billing_merchant_user_uuid
string<uuid>
billing_processor_mid
string
Maximum string length: 255

Response

Successful response

status
boolean
Example:

true

message
string
Example:

""

data
object
errors
string
Example:

null

error_code
string
Example:

null