Merchant accounts
Get a merchant account
Account updater
Buyers - Payment methods
Payment methods
Payment methods - Payment service tokens
Payment methods - Network tokens
Buyers - Gift cards
Buyers - Shipping details
Card scheme definitions
Digital wallets - Setup
Digital wallets - Sessions
Transactions
Refunds
Payment options
Payment service definitions
Payment services
Audit logs
Checkout sessions
Merchant accounts
Merchant accounts
Get a merchant account
Get info about a merchant account in an instance.
GET
/
merchant-accounts
/
{merchant_account_id}
curl --request GET \
--url https://api.{id}.gr4vy.app/merchant-accounts/{merchant_account_id} \
--header 'Authorization: Bearer <token>'
{
"type": "merchant-account",
"id": "merchant-12345",
"display_name": "John Doe",
"outbound_webhook_url": "https://example.com/callback",
"outbound_webhook_username": "user-12345",
"outbound_webhook_password": "password-12345",
"loon_client_key": "client-key-1234",
"loon_secret_key": "key-12345",
"loon_accepted_schemes": [
"visa"
],
"account_updater_request_encryption_key": "key-1234",
"account_updater_request_encryption_key_id": "key-id-1234",
"account_updater_response_decryption_key": "key-1234",
"account_updater_response_decryption_key_id": "key-id-1234",
"account_updater_enabled": true,
"over_capture_amount": 1299,
"over_capture_percentage": 25,
"visa_network_tokens_requestor_id": "id-12345",
"visa_network_tokens_app_id": "id-12345",
"amex_network_tokens_requestor_id": "id-12345",
"amex_network_tokens_app_id": "id-12345",
"mastercard_network_tokens_requestor_id": "id-12345",
"mastercard_network_tokens_app_id": "id-12345",
"created_at": "2013-07-16T19:23:00.000+00:00",
"updated_at": "2013-07-16T19:23:00.000+00:00"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the merchant account
Examples:
"merchant-12345"
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.{id}.gr4vy.app/merchant-accounts/{merchant_account_id} \
--header 'Authorization: Bearer <token>'
{
"type": "merchant-account",
"id": "merchant-12345",
"display_name": "John Doe",
"outbound_webhook_url": "https://example.com/callback",
"outbound_webhook_username": "user-12345",
"outbound_webhook_password": "password-12345",
"loon_client_key": "client-key-1234",
"loon_secret_key": "key-12345",
"loon_accepted_schemes": [
"visa"
],
"account_updater_request_encryption_key": "key-1234",
"account_updater_request_encryption_key_id": "key-id-1234",
"account_updater_response_decryption_key": "key-1234",
"account_updater_response_decryption_key_id": "key-id-1234",
"account_updater_enabled": true,
"over_capture_amount": 1299,
"over_capture_percentage": 25,
"visa_network_tokens_requestor_id": "id-12345",
"visa_network_tokens_app_id": "id-12345",
"amex_network_tokens_requestor_id": "id-12345",
"amex_network_tokens_app_id": "id-12345",
"mastercard_network_tokens_requestor_id": "id-12345",
"mastercard_network_tokens_app_id": "id-12345",
"created_at": "2013-07-16T19:23:00.000+00:00",
"updated_at": "2013-07-16T19:23:00.000+00:00"
}