POST
/
merchant-accounts

This endpoint requires the merchant-accounts.write scope.

Authorizations

Authorization
string
headerrequired

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

Body

application/json

A request to create a merchant account.

id
string

The unique ID for the merchant account.

Required string length: 1 - 22
display_name
string

The human-readable name of the merchant account.

Required string length: 1 - 255
outbound_webhook_url
string | null

The optional URL where webhooks will be received.

outbound_webhook_username
string | null

The optional username to use when outbound_webhook_url is configured and requires basic authentication.

outbound_webhook_password
string | null

The optional password to use when outbound_webhook_url is configured and requires basic authentication.

visa_network_tokens_requestor_id
string | null

Requestor ID provided for Visa after onboarding to use Network Tokens. The requestor ID must be unique across all schemes and merchant accounts.

Maximum length: 300
visa_network_tokens_app_id
string | null

Application ID provided for Visa after onboarding to use Network Tokens. The application ID must be unique across all schemes and merchant accounts.

Maximum length: 300
amex_network_tokens_requestor_id
string | null

Requestor ID provided for Amex after onboarding to use Network Tokens. The requestor ID must be unique across all schemes and merchant accounts.

Maximum length: 300
amex_network_tokens_app_id
string | null

Application ID provided for Amex after onboarding to use Network Tokens. The application ID must be unique across all schemes and merchant accounts.

Maximum length: 300
mastercard_network_tokens_requestor_id
string | null

Requestor ID provided for Mastercard after onboarding to use Network Tokens. The requestor ID must be unique across all schemes and merchant accounts.

Maximum length: 300
mastercard_network_tokens_app_id
string | null

Application ID provided for Mastercard after onboarding to use Network Tokens. The application ID must be unique across all schemes and merchant accounts.

Maximum length: 300
loon_client_key
string | null

Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service used by Gr4vy.

  • If the field is not set or if it's set to null, the Account Updater service doesn't get configured.
  • If the field is set to null, the other loon_* fields must be set to null as well.
Minimum length: 1
loon_secret_key
string | null

Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service used by Gr4vy.

  • If the field is not set or if it's set to null, the Account Updater service doesn't get configured.
  • If the field is set to null, the other loon_* fields must be set to null as well.
Minimum length: 1
loon_accepted_schemes
enum<string>[] | null

Card schemes accepted when creating jobs using this set of Loon API keys. Loon is the Account Updater service used by Gr4vy.

  • If the field is not set or if it's set to null, the Account Updater service doesn't get configured.
  • If the field is set to null, the other loon_* fields must be set to null as well.
Available options:
accel,
amex,
bancontact,
carte-bancaire,
cirrus,
culiance,
dankort,
diners-club,
discover,
eftpos-australia,
elo,
hipercard,
jcb,
maestro,
mastercard,
mir,
nyce,
other,
pulse,
rupay,
star,
uatp,
unionpay,
visa
over_capture_amount
number | null

The maximum monetary amount allowed for over-capture, in the smallest currency unit, for example 1299 cents to allow for an over-capture of $12.99.

Required range: 1 < x < 99999999
over_capture_percentage
number | null

The maximum percentage allowed for over-capture, for example 25 to allow for an over-capture of 25% of the original transaction amount.

Required range: 1 < x < 99999999

Response

201 - application/json
type
enum<string>

merchant-account.

Available options:
merchant-account
id
string

The ID for this merchant account.

display_name
string

The display name of this merchant account.

outbound_webhook_url
string | null

The optional URL where webhooks will be received.

outbound_webhook_username
string | null

The optional username to use when outbound_webhook_url is configured and requires basic authentication.

outbound_webhook_password
string | null

The optional password to use when outbound_webhook_url is configured and requires basic authentication.

If the field is not null, the value is masked to avoid exposing sensitive information.

visa_network_tokens_requestor_id
string | null

Requestor ID provided for Visa after onboarding to use Network Tokens.

visa_network_tokens_app_id
string | null

Application ID provided for Visa after onboarding to use Network Tokens.

amex_network_tokens_requestor_id
string | null

Requestor ID provided for Amex after onboarding to use Network Tokens.

amex_network_tokens_app_id
string | null

Application ID provided for Amex after onboarding to use Network Tokens.

mastercard_network_tokens_requestor_id
string | null

Requestor ID provided for Mastercard after onboarding to use Network Tokens.

mastercard_network_tokens_app_id
string | null

Application ID provided for Mastercard after onboarding to use Network Tokens.

loon_client_key
string | null

Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service used by Gr4vy.

loon_secret_key
string | null

Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service used by Gr4vy.

If the field is not null, the value is masked to avoid exposing sensitive information.

loon_accepted_schemes
enum<string>[] | null

Card schemes accepted when creating jobs using this set of Loon API keys. Loon is the Account Updater service used by Gr4vy.

Available options:
accel,
amex,
bancontact,
carte-bancaire,
cirrus,
culiance,
dankort,
diners-club,
discover,
eftpos-australia,
elo,
hipercard,
jcb,
maestro,
mastercard,
mir,
nyce,
other,
pulse,
rupay,
star,
uatp,
unionpay,
visa
created_at
string

The date and time when this merchant account was created.

updated_at
string

The date and time when this merchant account was updated.

over_capture_amount
number | null

The maximum monetary amount allowed for over-capture, in the smallest currency unit, for example 1299 cents to allow for an over-capture of $12.99.

Required range: 1 < x < 99999999
over_capture_percentage
number | null

The maximum percentage allowed for over-capture, for example 25 to allow for an over-capture of 25% of the original transaction amount.

Required range: 1 < x < 99999999