Merchant accounts
List merchant accounts
Lists all merchant accounts in an instance.
GET
/merchant-accounts
curl --request GET \
--url https://api.sandbox.{gr4vy_id}.gr4vy.app/merchant-accounts \
--header 'Authorization: <authorization>'
{
"items": [
{
"amex_network_tokens_app_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
"amex_network_tokens_requestor_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
"created_at": "2022-02-01T14:20:00.000+00:00",
"display_name": "Plantly UK",
"id": "plantly-uk",
"mastercard_network_tokens_app_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
"mastercard_network_tokens_requestor_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
"outbound_webhook_password": "********",
"outbound_webhook_url": "https://www.example.com/webhook",
"outbound_webhook_username": "gr4vy",
"type": "merchant-account",
"updated_at": "2022-02-01T14:20:00.000+00:00",
"visa_network_tokens_app_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
"visa_network_tokens_requestor_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2"
}
],
"limit": "1",
"next_cursor": "ZXhhbXBsZTE",
"previous_cursor": "null"
}
This endpoint requires the merchant-accounts.read
scope.
Authorizations
Authorizationheaderrequired
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
items
object[]
A list of merchant accounts.
limit
Default: "20"integer
The limit applied to request. This represents the number of items that are at maximum returned by this request.
next_cursor
string | null
The cursor that represents the next page of results. Use the cursor
query
parameter to fetch this page of items.
previous_cursor
string | null
The cursor that represents the next page of results. Use the cursor
query
parameter to fetch this page of items.
curl --request GET \
--url https://api.sandbox.{gr4vy_id}.gr4vy.app/merchant-accounts \
--header 'Authorization: <authorization>'
{
"items": [
{
"amex_network_tokens_app_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
"amex_network_tokens_requestor_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
"created_at": "2022-02-01T14:20:00.000+00:00",
"display_name": "Plantly UK",
"id": "plantly-uk",
"mastercard_network_tokens_app_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
"mastercard_network_tokens_requestor_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
"outbound_webhook_password": "********",
"outbound_webhook_url": "https://www.example.com/webhook",
"outbound_webhook_username": "gr4vy",
"type": "merchant-account",
"updated_at": "2022-02-01T14:20:00.000+00:00",
"visa_network_tokens_app_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
"visa_network_tokens_requestor_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2"
}
],
"limit": "1",
"next_cursor": "ZXhhbXBsZTE",
"previous_cursor": "null"
}