Skip to main content
GET
/
3p
/
api
/
v2
/
merchants
/
{uuid}
/
billing
Get Billing by Merchant User UUID ( STABLE )
curl --request GET \
  --url https://api.grailpay.com/3p/api/v2/merchants/{uuid}/billing \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "",
  "data": {
    "summary": [
      {
        "billable_event": "Standard ACH",
        "total": 1500,
        "total_occurrences": 150,
        "amount_per_occurrence": 10
      }
    ]
  },
  "errors": null,
  "error_code": null
}

Authorizations

Authorization
string
header
required

Sanctum token-based authentication using the Bearer scheme. This is provided by the GrailPay Customer Support Team

Path Parameters

uuid
string<uuid>
required

UUID of the merchant user

Query Parameters

start_date
string<date>

Start date for billing summary (YYYY-MM-DD)

end_date
string<date>

End date for billing summary (YYYY-MM-DD)

Response

Successful response

status
boolean
Example:

true

message
string
Example:

""

data
object
errors
string
Example:

null

error_code
string
Example:

null