Skip to main content
POST
C#
This endpoint requires the payouts.write scope.

Authorizations

Authorization
string
header
required

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

Headers

x-gr4vy-merchant-account-id
string | null

The ID of the merchant account to use for this request.

Example:

"default"

Body

application/json

PayoutCreate

Represents the data required to create a new payout.

amount
integer
required

The monetary amount for this payout, in the smallest currency unit for the given currency, for example 1299 cents to create an authorization for $12.99.

Required range: 0 <= x <= 99999999
Example:

1299

currency
string
required

The ISO-4217 currency code for this payout.

Pattern: ^[A-Z]{3}$
Examples:

"EUR"

"GBP"

"USD"

payment_service_id
string<uuid>
required

The ID of the payment service to use for the payout.

Example:

"ed8bd87d-85ad-40cf-8e8f-007e21e55aad"

payment_method
PaymentMethodCard · object
required

The type of payment method to send funds too.

category
enum<string> | null

The type of payout to process.

Available options:
online_gambling
Example:

"online_gambling"

external_identifier
string | null

A value that can be used to match the payout against your own records.

Required string length: 1 - 200
Example:

"payout-12345"

buyer_id
string<uuid> | null

The id of a stored buyer to use for this payout Use this instead of the buyer or buyer_external_identifier.

Example:

"fe26475d-ec3e-4884-9553-f7356683f7f9"

buyer
GuestBuyer · object | null

Inline buyer details for the payout. Use this instead of the buyer_id or buyer_external_identifier.

buyer_external_identifier
string | null

The external_identifier of a stored buyer to use for this payout. Use this instead of the buyer_id or buyer.

Required string length: 1 - 200
Example:

"buyer-12345"

merchant
PayoutMerchant · object | null

Merchant information for the source of the payout.

connection_options
PayoutConnectionOptions · object | null

Optional fields for processing payouts on specific payment services.

Response

Successful Response

PayoutSummary

Represents a summary of a payout.

amount
integer
required

The monetary amount for this payout, in the smallest currency unit for the given currency, for example 1299 cents to create an authorization for $12.99.

Example:

1299

created_at
string<date-time>
required

The date this payout was created at.

Example:

"2013-07-16T19:23:00.000+00:00"

currency
string
required

A supported ISO-4217 currency code.

Pattern: ^[A-Z]{3}$
Examples:

"EUR"

"GBP"

"USD"

payment_method
TransactionPaymentMethod · object
required

The payment method used for this payout.

payment_service
PayoutPaymentService · object
required

The payment service used for this payout.

status
enum<string>
required

The status of the payout.

Available options:
declined,
failed,
pending,
succeeded
Example:

"succeeded"

updated_at
string<date-time>
required

The date this payout was last updated at.

Example:

"2013-07-16T19:23:00.000+00:00"

type
string
default:payout

Always payout.

Allowed value: "payout"
Example:

"payout"

id
string<uuid> | null

The ID for the payout.

Example:

"6f96a57e-a35b-4f98-b192-d298995f811a"

buyer
TransactionBuyer · object | null

The buyer used for this payout.

category
enum<string> | null

The type of payout to process.

Available options:
online_gambling
Example:

"online_gambling"

external_identifier
string | null

The merchant identifier for this payout.

Required string length: 1 - 200
Example:

"payout-12345"

merchant
PayoutMerchantSummary · object | null

The merchant details associated to this payout.

merchant_account_id
string | null

The ID of the merchant account this payout was created for.

Example:

"default"

payment_service_payout_id
string | null

The ID of the payout in the underlying payment service.

Required string length: 1 - 200
Example:

"pout-12345"