Payments
- Transactions
- Buyers
- Checkout Sessions
- Payment links
- Payment options
- Payouts
- Refunds
- Sessions
- Settlement records
Instruments
- Card schemes
- Digital wallets
- Gift cards
- Payment methods
- Payment method definitions
Vault
- Account updater
- Network tokens
- Payment service tokens
- Vault Forward
- Vault Forward endpoints
- Vault Forward authentication
Connections
- All services
- Payment services
- Digital wallets
- Anti-fraud services
- Gift-card services
Dashboard
- Flow
- Merchant accounts
- Reports
- Report executions
Create payout
Creates a new payout.
curl --request POST \
--url https://api.{gr4vy_id}.gr4vy.app/payouts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 1299,
"currency": "USD",
"payment_service_id": "a7d6b829-aea5-407d-ab7f-138784b5ad2c",
"category": "online_gambling",
"external_identifier": "payout-123",
"buyer_id": "fe26475d-ec3e-4884-9553-f7356683f7f9",
"buyer_external_identifier": "user-789123",
"buyer": {
"external_identifier": "user-789123",
"display_name": "John L.",
"billing_details": {
"first_name": "John",
"last_name": "Lunn",
"email_address": "john@example.com",
"phone_number": "+1234567890",
"address": {
"city": "London",
"country": "GB",
"postal_code": "789123",
"state": "Greater London",
"state_code": "GB-LND",
"house_number_or_name": "10",
"line1": "10 Oxford Street",
"line2": "New Oxford Court",
"organization": "Gr4vy"
},
"tax_id": {
"value": "12345678931",
"kind": "gb.vat"
}
},
"shipping_details": {
"type": "shipping-details",
"id": "8724fd24-5489-4a5d-90fd-0604df7d3b83",
"buyer_id": "8724fd24-5489-4a5d-90fd-0604df7d3b83",
"first_name": "John",
"last_name": "Lunn",
"email_address": "john@example.com",
"phone_number": "+1234567890",
"address": {
"city": "London",
"country": "GB",
"postal_code": "789123",
"state": "Greater London",
"state_code": "GB-LND",
"house_number_or_name": "10",
"line1": "10 Oxford Street",
"line2": "New Oxford Court",
"organization": "Gr4vy"
}
},
"account_number": "1234567"
},
"merchant": {
"name": "Merchant",
"identification_number": "<string>",
"phone_number": "+1234567890",
"url": "<string>",
"statement_descriptor": "<string>",
"merchant_category_code": "<string>",
"address": {
"city": "London",
"country": "GB",
"postal_code": "789123",
"state": "Greater London",
"state_code": "GB-LND",
"house_number_or_name": "10",
"line1": "10 Oxford Street",
"line2": "New Oxford Court",
"organization": "Gr4vy"
}
},
"payment_method": {
"method": "card",
"number": "4111111111111111",
"expiration_date": "11/25",
"external_identifier": "card-323444",
"scheme": "visa"
},
"connection_options": {
"checkout-card": {
"source_id": "<string>",
"processing_channel_id": "<string>"
}
}
}'
{
"type": "payout",
"id": "8d3fe99b-1422-42e6-bbb3-932d95ae5f79",
"merchant_account_id": "default",
"amount": 1299,
"currency": "USD",
"created_at": "2022-01-01T12:00:00+00:00",
"updated_at": "2022-01-01T12:00:00+00:00",
"payment_service": {
"type": "payment-service",
"id": "stripe-card-faaad066-30b4-4997-a438-242b0752d7e1",
"display_name": "Stripe (Main)",
"method": "card",
"payment_service_definition_id": "stripe-card"
},
"payment_service_payout_id": "example",
"category": "online_gambling",
"status": "pending",
"external_identifier": "user-789123",
"merchant": {
"type": "merchant",
"name": "Merchant",
"identification_number": "<string>",
"phone_number": "+1234567890",
"url": "<string>",
"statement_descriptor": "<string>",
"merchant_category_code": "<string>",
"address": {
"city": "London",
"country": "GB",
"postal_code": "789123",
"state": "Greater London",
"state_code": "GB-LND",
"house_number_or_name": "10",
"line1": "10 Oxford Street",
"line2": "New Oxford Court",
"organization": "Gr4vy"
}
},
"buyer": {
"type": "buyer",
"id": "fe26475d-ec3e-4884-9553-f7356683f7f9",
"billing_details": {
"type": "billing-details",
"first_name": "John",
"last_name": "Lunn",
"email_address": "john@example.com",
"phone_number": "+1234567890",
"address": {
"city": "London",
"country": "GB",
"postal_code": "789123",
"state": "Greater London",
"state_code": "GB-LND",
"house_number_or_name": "10",
"line1": "10 Oxford Street",
"line2": "New Oxford Court",
"organization": "Gr4vy"
},
"tax_id": {
"value": "12345678931",
"kind": "gb.vat"
}
},
"display_name": "John L.",
"external_identifier": "user-789123",
"account_number": "1234567"
},
"payment_method": {
"type": "payment-method",
"id": "77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5",
"approval_target": "any",
"approval_url": "https://api.example.app.gr4vy.com/payment-methods/ffc88ec9-e1ee-45ba-993d-b5902c3b2a8c/approve",
"country": "US",
"currency": "USD",
"details": {
"bin": "412345",
"card_type": "credit",
"card_issuer_name": "Bank"
},
"expiration_date": "11/25",
"external_identifier": "user-789123",
"label": "1111",
"last_replaced_at": "2023-07-26T19:23:00.000+00:00",
"method": "card",
"payment_account_reference": "V0010014629724763377327521982",
"scheme": "visa",
"fingerprint": "20eb353620155d2b5fc864cc46a73ea77cb92c725238650839da1813fa987a17"
}
}
This endpoint requires the payouts.write
scope.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Request body for creating new payout.
The amount to payout.
1 <= x <= 99999999
1299
The ISO-4217 currency code for the payout.
"USD"
The ID of the payment service to use for the payout.
"a7d6b829-aea5-407d-ab7f-138784b5ad2c"
The type of payment method to send funds too.
The method to use.
card
"card"
The 13-19 digit number for this card as it can be found on the front of the card.
13 - 19
"4111111111111111"
The expiration date of the card, formatted MM/YY
.
5
"11/25"
An external identifier that can be used to match the card against your own records.
"card-323444"
The card scheme.
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
"visa"
The type of payout to process.
online_gambling
"online_gambling"
A value that can be used to match the payout against your own records.
1 - 200
"payout-123"
The ID of the buyer to send the payout.
"fe26475d-ec3e-4884-9553-f7356683f7f9"
The external_identifier
of the buyer to send this payout to.
200
"user-789123"
Inline buyer details for the payout.
An external identifier that can be used to match the buyer against your own records. This value needs to be unique for all buyers.
1 - 200
"user-789123"
A unique name for this buyer which is used in the Gr4vy admin panel to give a buyer a human readable name.
1 - 200
"John L."
The optional billing details for the a buyer.
The first name(s) or given name for the buyer.
1 - 255
"John"
The last name, or family name, of the buyer.
1 - 255
"Lunn"
The email address for the buyer.
1 - 320
"john@example.com"
The phone number for the buyer which should be formatted according to the E164 number standard.
1 - 50
"+1234567890"
The billing address for the buyer.
The city for the address.
1 - 100
"London"
The country for the address in ISO 3166 format.
2
"GB"
The postal code or zip code for the address.
1 - 50
"789123"
The state, county, or province for the address.
1 - 255
"Greater London"
The first line of the address.
1 - 255
"10 Oxford Street"
The code of state, county, or province for the address in ISO 3166-2 format.
4 - 6
"GB-LND"
The house number or name for the address. Not all payment services use this field but some do.
1 - 255
"10"
The second line of the address.
1 - 255
"New Oxford Court"
The optional name of the company or organisation to add to the address.
1 - 255
"Gr4vy"
The tax ID information associated with the billing details.
The tax ID for the buyer.
1 - 50
"12345678931"
The kind of tax ID.
ae.trn
, au.abn
, ar.dni
, ar.cuil
, ar.cuit
, br.cnpj
, br.cpf
, ca.bn
, ca.gst_hst
, ca.pst_bc
, ca.pst_mb
, ca.pst_sk
, ca.qst
, ch.vat
, cl.tin
, es.cif
, eu.vat
, gb.vat
, hk.br
, id.nik
, id.npwp
, in.gst
, jp.cn
, jp.rn
, kr.brn
, li.uid
, mx.curp
, my.frp
, my.itn
, my.nric
, my.sst
, no.vat
, nz.gst
, ph.tin
, ru.inn
, ru.kpp
, sa.vat
, sg.gst
, sg.uen
, th.id
, th.vat
, tw.vat
, us.ein
, za.vat
"gb.vat"
The optional shipping details for the buyer.
The type of this resource. Is always shipping-details
.
shipping-details
"shipping-details"
The unique ID for a buyer's shipping detail.
"8724fd24-5489-4a5d-90fd-0604df7d3b83"
The unique ID for a buyer.
"8724fd24-5489-4a5d-90fd-0604df7d3b83"
The first name(s) or given name of the buyer.
1 - 255
"John"
The last name, or family name, of the buyer.
1 - 255
"Lunn"
The email address of the buyer.
1 - 320
"john@example.com"
The phone number of the buyer. This number is formatted according to the E164 number standard.
1 - 50
"+1234567890"
The physical shipping address associated to this buyer.
The city for the address.
1 - 100
"London"
The country for the address in ISO 3166 format.
2
"GB"
The postal code or zip code for the address.
1 - 50
"789123"
The state, county, or province for the address.
1 - 255
"Greater London"
The code of state, county, or province for the address in ISO 3166-2 format.
4 - 6
"GB-LND"
The house number or name for the address. Not all payment services use this field but some do.
1 - 255
"10"
The first line of the address.
1 - 255
"10 Oxford Street"
The second line of the address.
1 - 255
"New Oxford Court"
The optional name of the company or organisation to add to the address.
1 - 255
"Gr4vy"
The source account number to perform an account funding transaction.
1 - 255
"1234567"
Merchant information for the source of the payout.
The name of the merchant.
255
"Merchant"
Unique value which identifies a merchant for processing transactions, also known as a MID.
200
The phone number for the merchant which should be formatted according to the E164 number standard.
1 - 50
"+1234567890"
Merchant website URL.
Value to explain charges or payments on bank statements.
5 - 22
Merchant classification for the type of goods or services it provides.
1 - 4
The address for the merchant.
The city for the address.
1 - 100
"London"
The country for the address in ISO 3166 format.
2
"GB"
The postal code or zip code for the address.
1 - 50
"789123"
The state, county, or province for the address.
1 - 255
"Greater London"
The code of state, county, or province for the address in ISO 3166-2 format.
4 - 6
"GB-LND"
The house number or name for the address. Not all payment services use this field but some do.
1 - 255
"10"
The first line of the address.
1 - 255
"10 Oxford Street"
The second line of the address.
1 - 255
"New Oxford Court"
The optional name of the company or organisation to add to the address.
1 - 255
"Gr4vy"
Optional fields for processing payouts on specific payment services.
Response
The type of this resource. Is always payout
.
payout
"payout"
The ID of a payout.
"8d3fe99b-1422-42e6-bbb3-932d95ae5f79"
The optional ID of the merchant account this payout should be assigned to.
22
"default"
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
.
1299
A supported ISO-4217 currency code.
"USD"
The date and time when this payout was created.
"2022-01-01T12:00:00+00:00"
The date and time when this payout was created.
"2022-01-01T12:00:00+00:00"
The payment service used for this payout.
The type of this resource.
payment-service
"payment-service"
The ID of this payment service.
1 - 200
"stripe-card-faaad066-30b4-4997-a438-242b0752d7e1"
The custom name set for this service.
1 - 50
"Stripe (Main)"
The payment method that this services handles.
afterpay
, alipay
, alipayhk
, applepay
, bacs
, bancontact
, banked
, becs
, bitpay
, boleto
, boost
, card
, cashapp
, chaseorbital
, checkout-session
, clearpay
, click-to-pay
, dana
, dcb
, dlocal
, ebanx
, efecty
, eps
, everydaypay
, gcash
, gift-card
, giropay
, givingblock
, gocardless
, googlepay
, googlepay_pan_only
, gopay
, grabpay
, id
, ideal
, kakaopay
, kcp
, klarna
, laybuy
, linepay
, linkaja
, maybankqrpay
, mercadopago
, multibanco
, multipago
, netbanking
, network-token
, oney_3x
, oney_4x
, oney_6x
, oney_10x
, oney_12x
, ovo
, oxxo
, payid
, paymaya
, paypal
, paypalpaylater
, payto
, venmo
, pix
, pse
, rabbitlinepay
, razorpay
, scalapay
, sepa
, shopeepay
, singteldash
, smartpay
, sofort
, spei
, stripedd
, thaiqr
, touchngo
, truemoney
, trustly
, trustlyeurope
, upi
, vipps
, waave
, webpay
, wechat
, zippay
"card"
The ID of the payment service definition used to create this service.
1 - 50
"stripe-card"
The ID of the payout in the underlying payment service.
"example"
The type of payout to process.
online_gambling
"online_gambling"
The status of the payout.
pending
, failed
, declined
, succeeded
"pending"
An external identifier that can be used to match the payout against your own records. This value needs to be unique for all buyers.
1 - 200
"user-789123"
The merchant details associated to this payout.
The type of this resource. Is always merchant
.
merchant
"merchant"
The name of the merchant.
255
"Merchant"
Unique value which identifies a merchant for processing transactions, also known as a MID.
200
The phone number for the merchant which should be formatted according to the E164 number standard.
1 - 50
"+1234567890"
Merchant website URL.
Value to explain charges or payments on bank statements.
5 - 22
Merchant classification for the type of goods or services it provides.
1 - 4
The address for the merchant.
The city for the address.
1 - 100
"London"
The country for the address in ISO 3166 format.
2
"GB"
The postal code or zip code for the address.
1 - 50
"789123"
The state, county, or province for the address.
1 - 255
"Greater London"
The code of state, county, or province for the address in ISO 3166-2 format.
4 - 6
"GB-LND"
The house number or name for the address. Not all payment services use this field but some do.
1 - 255
"10"
The first line of the address.
1 - 255
"10 Oxford Street"
The second line of the address.
1 - 255
"New Oxford Court"
The optional name of the company or organisation to add to the address.
1 - 255
"Gr4vy"
The buyer used for this transaction.
The type of this resource. Is always buyer
.
buyer
"buyer"
The unique Gr4vy ID for this buyer.
"fe26475d-ec3e-4884-9553-f7356683f7f9"
The billing details associated with the buyer, which include the address and tax ID.
The type of this resource. Is always billing-details
.
billing-details
"billing-details"
The first name(s) or given name of the buyer.
1 - 255
"John"
The last name, or family name, of the buyer.
1 - 255
"Lunn"
The email address of the buyer.
1 - 320
"john@example.com"
The phone number of the buyer. This number is formatted according to the E164 number standard.
1 - 50
"+1234567890"
The billing address of the buyer.
The city for the address.
1 - 100
"London"
The country for the address in ISO 3166 format.
2
"GB"
The postal code or zip code for the address.
1 - 50
"789123"
The state, county, or province for the address.
1 - 255
"Greater London"
The code of state, county, or province for the address in ISO 3166-2 format.
4 - 6
"GB-LND"
The house number or name for the address. Not all payment services use this field but some do.
1 - 255
"10"
The first line of the address.
1 - 255
"10 Oxford Street"
The second line of the address.
1 - 255
"New Oxford Court"
The optional name of the company or organisation to add to the address.
1 - 255
"Gr4vy"
The tax information associated with the billing details.
The tax ID for the buyer.
1 - 50
"12345678931"
The kind of tax ID.
ae.trn
, au.abn
, ar.dni
, ar.cuil
, ar.cuit
, br.cnpj
, br.cpf
, ca.bn
, ca.gst_hst
, ca.pst_bc
, ca.pst_mb
, ca.pst_sk
, ca.qst
, ch.vat
, cl.tin
, es.cif
, eu.vat
, gb.vat
, hk.br
, id.nik
, id.npwp
, in.gst
, jp.cn
, jp.rn
, kr.brn
, li.uid
, mx.curp
, my.frp
, my.itn
, my.nric
, my.sst
, no.vat
, nz.gst
, ph.tin
, ru.inn
, ru.kpp
, sa.vat
, sg.gst
, sg.uen
, th.id
, th.vat
, tw.vat
, us.ein
, za.vat
"gb.vat"
A unique name for this buyer which is used in the Gr4vy admin panel to give a buyer a human readable name.
1 - 200
"John L."
An external identifier that can be used to match the buyer against your own records.
1 - 200
"user-789123"
The source account number to perform an account funding transaction.
1 - 255
"1234567"
The payment method used for this payout.
payment-method
.
payment-method
"payment-method"
The unique ID of the payment method.
"77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5"
The browser target that an approval URL must be opened in. If any
or null
, then there is no specific requirement.
any
, new_window
"any"
The optional URL that the buyer needs to be redirected to to further authorize their payment.
"https://api.example.app.gr4vy.com/payment-methods/ffc88ec9-e1ee-45ba-993d-b5902c3b2a8c/approve"
The 2-letter ISO code of the country this payment method can
be used for. If this value is null
the payment method may be
used in multiple countries.
"US"
The ISO-4217 currency code that this payment method can be
used for. If this value is null
the payment method may be
used for multiple currencies.
"USD"
A credit or debit card payment method.
The first 6 digits of the full card number (the BIN).
"412345"
The type of card, one of credit
, debit
or prepaid
.
credit
, debit
, prepaid
"credit"
The name of the card issuer.
"Bank"
The expiration date for this payment method. This is mostly used by cards where the card might have an expiration date.
5
"11/25"
An external identifier that can be used to match the payment method against your own records.
"user-789123"
A label for the payment method. This can be the last 4 digits for a card, or the email address for an alternative payment method.
"1111"
The date and time when this card was last replaced.
When the Account Updater determines that new card details are available, existing details are not changed immediately. There are three scenarios in which the actual replacement occurs:
- When this card has expired.
- When only the expiration date changed.
- When a transaction using this card is declined with any of the following codes:
canceled_payment_method
expired_payment_method
unavailable_payment_method
unknown_payment_method
When the replacement is applied, this field is updated.
For non-card payment methods, the value of this field is always set to null
.
"2023-07-26T19:23:00.000+00:00"
The type of this payment method.
afterpay
, alipay
, alipayhk
, applepay
, bacs
, bancontact
, banked
, becs
, bitpay
, boleto
, boost
, card
, cashapp
, chaseorbital
, checkout-session
, clearpay
, click-to-pay
, dana
, dcb
, dlocal
, ebanx
, efecty
, eps
, everydaypay
, gcash
, gift-card
, giropay
, givingblock
, gocardless
, googlepay
, googlepay_pan_only
, gopay
, grabpay
, id
, ideal
, kakaopay
, kcp
, klarna
, laybuy
, linepay
, linkaja
, maybankqrpay
, mercadopago
, multibanco
, multipago
, netbanking
, network-token
, oney_3x
, oney_4x
, oney_6x
, oney_10x
, oney_12x
, ovo
, oxxo
, payid
, paymaya
, paypal
, paypalpaylater
, payto
, venmo
, pix
, pse
, rabbitlinepay
, razorpay
, scalapay
, sepa
, shopeepay
, singteldash
, smartpay
, sofort
, spei
, stripedd
, thaiqr
, touchngo
, truemoney
, trustly
, trustlyeurope
, upi
, vipps
, waave
, webpay
, wechat
, zippay
"card"
The payment account reference (PAR) returned by the card scheme. This is a unique reference to the underlying account that has been used to fund this payment method. This value will be unique if the same underlying account was used, regardless of the actual payment method used. For example, a network token or an Apple Pay device token will return the same PAR when possible.
The uniqueness of this value will depend on the card scheme, please refer to their documentation for further details. The availability of the PAR in our API depends on the availability of its value in the API of the payment service used for the transaction.
"V0010014629724763377327521982"
An additional label used to differentiate different sub-types of a payment
method. Most notably this can include the type of card used in a
transaction. This field is null
for the non-card payment methods.
This represents the card scheme sent to the connector and it could be different from the
actual card scheme that is being used by the PSP to process the transaction
in the following situations: 1. use_additional_scheme
transformation is used
with the PAN
instrument but we already have a PSP token for the card.
2. use_additional_scheme
transformation is used but PSP has fallen back to the
main card scheme internally.
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
"visa"
The unique hash derived from the payment method identifier (e.g. card number).
"20eb353620155d2b5fc864cc46a73ea77cb92c725238650839da1813fa987a17"
Was this page helpful?
curl --request POST \
--url https://api.{gr4vy_id}.gr4vy.app/payouts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 1299,
"currency": "USD",
"payment_service_id": "a7d6b829-aea5-407d-ab7f-138784b5ad2c",
"category": "online_gambling",
"external_identifier": "payout-123",
"buyer_id": "fe26475d-ec3e-4884-9553-f7356683f7f9",
"buyer_external_identifier": "user-789123",
"buyer": {
"external_identifier": "user-789123",
"display_name": "John L.",
"billing_details": {
"first_name": "John",
"last_name": "Lunn",
"email_address": "john@example.com",
"phone_number": "+1234567890",
"address": {
"city": "London",
"country": "GB",
"postal_code": "789123",
"state": "Greater London",
"state_code": "GB-LND",
"house_number_or_name": "10",
"line1": "10 Oxford Street",
"line2": "New Oxford Court",
"organization": "Gr4vy"
},
"tax_id": {
"value": "12345678931",
"kind": "gb.vat"
}
},
"shipping_details": {
"type": "shipping-details",
"id": "8724fd24-5489-4a5d-90fd-0604df7d3b83",
"buyer_id": "8724fd24-5489-4a5d-90fd-0604df7d3b83",
"first_name": "John",
"last_name": "Lunn",
"email_address": "john@example.com",
"phone_number": "+1234567890",
"address": {
"city": "London",
"country": "GB",
"postal_code": "789123",
"state": "Greater London",
"state_code": "GB-LND",
"house_number_or_name": "10",
"line1": "10 Oxford Street",
"line2": "New Oxford Court",
"organization": "Gr4vy"
}
},
"account_number": "1234567"
},
"merchant": {
"name": "Merchant",
"identification_number": "<string>",
"phone_number": "+1234567890",
"url": "<string>",
"statement_descriptor": "<string>",
"merchant_category_code": "<string>",
"address": {
"city": "London",
"country": "GB",
"postal_code": "789123",
"state": "Greater London",
"state_code": "GB-LND",
"house_number_or_name": "10",
"line1": "10 Oxford Street",
"line2": "New Oxford Court",
"organization": "Gr4vy"
}
},
"payment_method": {
"method": "card",
"number": "4111111111111111",
"expiration_date": "11/25",
"external_identifier": "card-323444",
"scheme": "visa"
},
"connection_options": {
"checkout-card": {
"source_id": "<string>",
"processing_channel_id": "<string>"
}
}
}'
{
"type": "payout",
"id": "8d3fe99b-1422-42e6-bbb3-932d95ae5f79",
"merchant_account_id": "default",
"amount": 1299,
"currency": "USD",
"created_at": "2022-01-01T12:00:00+00:00",
"updated_at": "2022-01-01T12:00:00+00:00",
"payment_service": {
"type": "payment-service",
"id": "stripe-card-faaad066-30b4-4997-a438-242b0752d7e1",
"display_name": "Stripe (Main)",
"method": "card",
"payment_service_definition_id": "stripe-card"
},
"payment_service_payout_id": "example",
"category": "online_gambling",
"status": "pending",
"external_identifier": "user-789123",
"merchant": {
"type": "merchant",
"name": "Merchant",
"identification_number": "<string>",
"phone_number": "+1234567890",
"url": "<string>",
"statement_descriptor": "<string>",
"merchant_category_code": "<string>",
"address": {
"city": "London",
"country": "GB",
"postal_code": "789123",
"state": "Greater London",
"state_code": "GB-LND",
"house_number_or_name": "10",
"line1": "10 Oxford Street",
"line2": "New Oxford Court",
"organization": "Gr4vy"
}
},
"buyer": {
"type": "buyer",
"id": "fe26475d-ec3e-4884-9553-f7356683f7f9",
"billing_details": {
"type": "billing-details",
"first_name": "John",
"last_name": "Lunn",
"email_address": "john@example.com",
"phone_number": "+1234567890",
"address": {
"city": "London",
"country": "GB",
"postal_code": "789123",
"state": "Greater London",
"state_code": "GB-LND",
"house_number_or_name": "10",
"line1": "10 Oxford Street",
"line2": "New Oxford Court",
"organization": "Gr4vy"
},
"tax_id": {
"value": "12345678931",
"kind": "gb.vat"
}
},
"display_name": "John L.",
"external_identifier": "user-789123",
"account_number": "1234567"
},
"payment_method": {
"type": "payment-method",
"id": "77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5",
"approval_target": "any",
"approval_url": "https://api.example.app.gr4vy.com/payment-methods/ffc88ec9-e1ee-45ba-993d-b5902c3b2a8c/approve",
"country": "US",
"currency": "USD",
"details": {
"bin": "412345",
"card_type": "credit",
"card_issuer_name": "Bank"
},
"expiration_date": "11/25",
"external_identifier": "user-789123",
"label": "1111",
"last_replaced_at": "2023-07-26T19:23:00.000+00:00",
"method": "card",
"payment_account_reference": "V0010014629724763377327521982",
"scheme": "visa",
"fingerprint": "20eb353620155d2b5fc864cc46a73ea77cb92c725238650839da1813fa987a17"
}
}