GET
/
merchant-accounts
curl --request GET \
  --url https://api.{gr4vy_id}.gr4vy.app/merchant-accounts \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "type": "merchant-account",
      "id": "plantly-uk",
      "display_name": "Plantly UK",
      "outbound_webhook_url": "https://www.example.com/webhook",
      "outbound_webhook_username": "gr4vy",
      "outbound_webhook_password": "********",
      "visa_network_tokens_requestor_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
      "visa_network_tokens_app_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
      "amex_network_tokens_requestor_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
      "amex_network_tokens_app_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
      "mastercard_network_tokens_requestor_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
      "mastercard_network_tokens_app_id": "e50fa0da-903d-4d54-aacc-4cac57d48df2",
      "loon_client_key": "7DD771287D0024BA418F8F7ECC7DF1CD",
      "loon_secret_key": "********",
      "loon_accepted_schemes": [
        "mastercard",
        "visa"
      ],
      "created_at": "2022-02-01T14:20:00.000+00:00",
      "updated_at": "2022-02-01T14:20:00.000+00:00",
      "over_capture_amount": 1000,
      "over_capture_percentage": 20
    }
  ],
  "limit": 1,
  "next_cursor": "ZXhhbXBsZTE",
  "previous_cursor": null
}

This endpoint requires the merchant-accounts.read scope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json
Returns a paginated list of merchant accounts.
items
object[]

A list of merchant accounts.

limit
integer
default:20

The limit applied to request. This represents the number of items that are at maximum returned by this request.

Required range: 1 <= x <= 100
Example:

1

next_cursor
string | null

The cursor that represents the next page of results. Use the cursor query parameter to fetch this page of items.

Required string length: 1 - 1000
Example:

"ZXhhbXBsZTE"

previous_cursor
string | null

The cursor that represents the next page of results. Use the cursor query parameter to fetch this page of items.

Required string length: 1 - 1000
Example:

null