Skip to main content
GET
C#
This endpoint requires the transactions.read 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"

Query Parameters

cursor
string | null

A pointer to the page of results to return.

Example:

"ZXhhbXBsZTE"

limit
integer
default:20

The maximum number of items that are at returned.

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

20

created_at_lte
string<date-time> | null

Filters the results to only transactions created before this ISO date-time string. The time zone must be included. Ensure that the date-time string is URL encoded, e.g. 2022-01-01T12:00:00+08:00 must be encoded as 2022-01-01T12%3A00%3A00%2B08%3A00.

Example:

"2022-01-01T12:00:00+08:00"

created_at_gte
string<date-time> | null

Filters the results to only transactions created after this ISO date-time string. The time zone must be included. Ensure that the date-time string is URL encoded, e.g. 2022-01-01T12:00:00+08:00 must be encoded as 2022-01-01T12%3A00%3A00%2B08%3A00.

Example:

"2022-01-01T12:00:00+08:00"

updated_at_lte
string<date-time> | null

Filters the results to only transactions updated before this ISO date-time string. The time zone must be included. Ensure that the date-time string is URL encoded, e.g. 2022-01-01T12:00:00+08:00 must be encoded as 2022-01-01T12%3A00%3A00%2B08%3A00.

Example:

"2022-01-01T12:00:00+08:00"

updated_at_gte
string<date-time> | null

Filters the results to only transactions updated after this ISO date-time string. The time zone must be included. Ensure that the date-time string is URL encoded, e.g. 2022-01-01T12:00:00+08:00 must be encoded as 2022-01-01T12%3A00%3A00%2B08%3A00.

Example:

"2022-01-01T12:00:00+08:00"

search
string | null

Filters for transactions that have one of the following fields match exactly with the provided search value.

Example:

"transaction-12345"

buyer_external_identifier
string | null

Filters the results to only the items for which the buyer has an external_identifier that exactly matches this value.

Example:

"buyer-12345"

buyer_id
string<uuid> | null

Filters the results to only the items for which the buyer has an id that matches this value.

Example:

"fe26475d-ec3e-4884-9553-f7356683f7f9"

buyer_email_address
string | null

Filters the results to only the items for which the buyer has an email_address that matches this value.

Example:

"john@example.com"

ip_address
string | null

Filters the results to only the transactions that were originated from the given ip_address.

Example:

"8.214.133.47"

status
enum<string>[] | null

Filters the results to only the transactions that have a status that matches with any of the provided status values.

Available options:
processing,
authorization_succeeded,
authorization_declined,
authorization_failed,
authorization_voided,
authorization_void_pending,
capture_succeeded,
capture_pending,
buyer_approval_pending
Example:

"authorization_succeeded"

id
string<uuid> | null

Filters for the transaction that has a matching id value.

Example:

"7099948d-7286-47e4-aad8-b68f7eb44591"

payment_service_transaction_id
string | null

Filters for transactions that have a matching payment_service_transaction_id value. The payment_service_transaction_id is the identifier of the transaction given by the payment service.

Example:

"tx-12345"

external_identifier
string | null

Filters the results to only the items for which the external_identifier matches this value.

Example:

"transaction-12345"

metadata
string[] | null

Filters for transactions where their metadata values contain all of the provided metadata keys. The value sent for metadata must be formatted as a JSON string, and all keys and values must be strings. This value should also be URL encoded.

Example:
amount_eq
integer | null

Filters for transactions that have an amount that is equal to the provided amount_eq value.

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

1299

amount_lte
integer | null

Filters for transactions that have an amount that is less than or equal to the amount_lte value.

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

1299

amount_gte
integer | null

Filters for transactions that have an amount that is greater than or equal to the amount_gte value.

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

1299

currency
string[] | null

Filters for transactions that have matching currency values. The currency values provided must be formatted as 3-letter ISO currency code.

Pattern: ^[A-Z]{3}$
Example:
country
string[] | null

Filters for transactions that have matching country values.

Example:
payment_service_id
string<uuid>[] | null

Filters for transactions that were processed by the provided payment_service_id values.

Example:
payment_method_id
string<uuid> | null

Filters for transactions that have a payment method with an ID that matches exactly with the provided value.

Example:

"ef9496d8-53a5-4aad-8ca2-00eb68334389"

payment_method_label
string | null

Filters for transactions that have a payment method with a label that matches exactly with the provided value.

Example:

"1234"

payment_method_scheme
string[] | null

Filters for transactions where the payment_method_scheme matches one of the provided values.

Example:
payment_method_country
string | null

Filters for transactions that have a payment method with a country that matches with the provided value.

Example:
payment_method_fingerprint
string | null

Filters for transactions that have a payment method with a fingerprint that matches exactly with the provided value

Example:

"a50b85c200ee0795d6fd33a5c66f37a4564f554355c5b46a756aac485dd168a4"

method
enum<string>[] | null

Filters for transactions that have matching method values.

Available options:
abitab,
affirm,
afterpay,
alipay,
alipayhk,
applepay,
arcuspaynetwork,
bacs,
bancontact,
bank,
bcp,
becs,
bitpay,
blik,
ach,
boleto,
boost,
breb,
capitec,
card,
cashapp,
cashappafterpay,
chaseorbital,
clearpay,
click-to-pay,
custom_push,
custom_redirect,
custom_tokenize,
dana,
dcb,
dlocal,
ebanx,
eckoh,
efecty,
eps,
everydaypay,
gcash,
gem,
gemds,
gift-card,
giropay,
givingblock,
gocardless,
googlepay,
googlepay_pan_only,
gopay,
grabpay,
ideal,
interac,
kakaopay,
kcp,
khipu,
klarna,
konbini,
latitude,
latitudeds,
laybuy,
linepay,
linkaja,
maybankqrpay,
mercadopago,
multibanco,
multipago,
nequi,
netbanking,
network-token,
nupay,
oney_10x,
oney_12x,
oney_3x,
oney_4x,
oney_6x,
onlinebankingcz,
onelink,
ovo,
oxxo,
p24,
pagoefectivo,
paybybank,
payid,
paymaya,
paysquad,
paypal,
paypalpaylater,
paypay,
payto,
payvalida,
paze,
picpay,
pix,
plaid,
pse,
rabbitlinepay,
razorpay,
rapipago,
redpagos,
scalapay,
sepa,
servipag,
seveneleven,
shopeepay,
singteldash,
smartpay,
sofort,
spei,
stitch,
swish,
stripe,
stripedd,
stripetoken,
tapi,
tapifintechs,
thaiqr,
touchngo,
truemoney,
trustly,
trustlyeurope,
upi,
venmo,
vipps,
waave,
webpay,
wechat,
wero,
yape,
zippay
Example:

"card"

error_code
string[] | null

Filters for transactions where the error_code matches one for the provided values.

Example:
has_refunds
boolean | null

Filters for transactions with refunds.

Example:

true

pending_review
boolean | null

Filters for transactions with a pending manual anti-fraud review.

Example:

true

checkout_session_id
string<uuid> | null

Filters for transactions where the checkout_session_id matches the provided value.

Example:

"4137b1cf-39ac-42a8-bad6-1c680d5dab6b"

payment_link_id
string<uuid> | null

Filters for transactions where the payment_link_id matches the provided value.

Example:

"a1b2c3d4-5678-90ab-cdef-1234567890ab"

reconciliation_id
string | null

Filters for transactions where the reconciliation_id matches the provided value.

Example:

"7jZXl4gBUNl0CnaLEnfXbt"

has_gift_card_redemptions
boolean | null

Filters for transactions with gift card redemptions.

Example:

true

gift_card_id
string<uuid> | null

Filters for transactions where a gift card used has an id that matches the provided value.

Example:

"356d56e5-fe16-42ae-97ee-8d55d846ae2e"

gift_card_last4
string | null

Filters for transactions that have at least one gift card redemption where the last 4 digits of its gift card number matches exactly with the provided value.

Required string length: 4
Example:

"7890"

has_settlements
boolean | null

Filters for transactions that have at least one associated settlement record.

Example:

true

payment_method_bin
string | null

Filter for transactions that have a card with a BIN that matches exactly with the provided value.

Example:

"411111"

payment_source
enum<string>[] | null

Filters the results to only the transactions that have a payment source that matches with any of the provided values.

The way payment method information made it to this transaction.

Available options:
ecommerce,
moto,
recurring,
installment,
card_on_file
Example:

"recurring"

is_subsequent_payment
boolean | null

Filters for transactions where the is_subsequent_payment matches the provided value.

Example:

true

merchant_initiated
boolean | null

Filters for transactions where the merchant_initiated matches the provided value.

Example:

true

used_3ds
boolean | null

Filters for transactions that attempted 3DS authentication or not.

Example:

true

disputed
boolean | null

Filters for transactions that have been disputed.

Example:

true

buyer_search
string[] | null

Filters the results to only get the items for which some of the buyer data contains exactly the provided buyer_search values.

Example:

Response

Successful Response

items
TransactionSummary · object[]
required

A list of items returned for this request.

limit
integer
default:20

The number of items for this page.

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

20

next_cursor
string | null

The cursor pointing at the next page of items.

Required string length: 1 - 1000
Example:

"ZXhhbXBsZTE"

previous_cursor
string | null

The cursor pointing at the previous page of items.

Required string length: 1 - 1000
Example:

"Xkjss7asS"