Retrieve a list of your payments.
Results are paginated, they will only return up to 100 payments maximum.
To access the next page of result, set the cursor query parameter to the value of nextCursor in
your current result payload. Use prevCursor to go back to the previous page.
Note: this endpoint returns a list of
summarized payments. Not all payments attributes are present. You can use
the query parameters to filter payments. You can separate multiple query parameters with the & symbol.
Query parameters with types of the form “Array of strings” (such as the status parameter) can be specified as a comma-separated list.
For example, if you wanted to get both FAILED and CANCELLED payments, for customer john-123, you would use:
curl --location --request GET 'https://api.primer.io/payments?status=FAILED,CANCELLED&customer_id=john-123' \
--header 'X-Api-Key: <YOUR_API_KEY>'
You can alternatively specify a list by repeating the parameter multiple times.
Note: payments will be available within a minute from being created.
Specifies the version of the API to use. This must be set to 2.4.
"2.4"
Filter payments by their status.
An enumeration.
PENDING, FAILED, AUTHORIZED, SETTLING, PARTIALLY_SETTLED, SETTLED, DECLINED, CANCELLED Filter payments by their payment method type.
Payment method type, where OFF_SESSION_PAYMENT is used for APM (Alternative Payment Method) payments and PAYMENT_CARD for traditional debit or credit cards. Please note that this list is different from one indicated on available payment methods page and values of this field will be changed in the future versions of the API.
PAYMENT_CARD, GOOGLE_PAY, APPLE_PAY, PAYPAL, BANK_ACCOUNT, KLARNA, APAYA, OPENNODE, HOOLAH, ATOME, COINBASE, NETS, TWOC2P, CLEARPAY, SHOPEEPAY, TRIPLE_A, AFTERPAY, NOL_PAY, PAY_NL_IDEAL, PAY_NL_BANCONTACT, PAY_NL_DIRECT_DEBIT, PAY_NL_SOFORT_BANKING, PAY_NL_PAYPAL, PAY_NL_PAYCONIQ, PAY_NL_GIROPAY, PAY_NL_P24, PAY_NL_EPS, PAY_NL_KAARTDIRECT, ADYEN_SOFORT, ADYEN_TWINT, ADYEN_GIROPAY, ADYEN_TRUSTLY, ADYEN_ALIPAY, ADYEN_MOBILEPAY, ADYEN_MULTIBANCO, ADYEN_VIPPS, ADYEN_DOTPAY, ADYEN_IDEAL, ADYEN_BLIK, ADYEN_PAYTRAIL, ADYEN_INTERAC, ADYEN_PAYSHOP, ADYEN_MBWAY, ADYEN_AFFIRM, ADYEN_KLARNA, ADYEN_BANCONTACT_PAYCONIQ, ADYEN_EPS, ADYEN_BANCONTACT_CARD, ADYEN_SWISH, MOLLIE_IDEAL, MOLLIE_BANCONTACT, MOLLIE_P24, MOLLIE_GIROPAY, MOLLIE_EPS, MOLLIE_GIFTCARD, MOLLIE_SOFORT, NETAXEPT_PAYTRAIL, BUCKAROO_IDEAL, BUCKAROO_BANCONTACT, BUCKAROO_SOFORT, BUCKAROO_GIROPAY, BUCKAROO_EPS, RAPYD_GCASH, RAPYD_PROMPTPAY, RAPYD_GRABPAY, RAPYD_POLI, RAPYD_FAST, XFERS_PAYNOW, STRIPE_GIROPAY, STRIPE_IDEAL, ALIPAY_CN, CHAI_KAKAOPAY, CHAI_NAVER, CHAI_TOSS, XENDIT_DANA, XENDIT_OVO, XENDIT_SHOPEEPAY, XENDIT_RETAIL_OUTLETS, OMISE_PROMPTPAY, OMISE_TRUEMONEY, EBANX_PAGOFACIL, PACYPAY_WECHAT, PACYPAY_ALIPAY, PACYPAY_ALIPAY_PLUS, WORLDPAY_IDEAL, IPAY88_CARD, INGENICO_PAYPAL, VOLT_PIX, VOLT_BANK_TRANSFER, BRAINTREE_VENMO, THUNES_SPIRIT_OF_CADEAU, THUNES_ILLICADO, THUNES_CARTE_CADEAU_CONFORAMA, THUNES_CHEQUE_FIDELITE_CONFORAMA, SIPS_CPAY, SIPS_CPAYCONFORAMA, MONEXT_CETELEM, MONEXT_CPAY Filter payments by their payment processor.
Filter payments by their payment currency.
e.g. use USD for US dollars.
Filter payments by their payment currency.
Use the 3-letter currency code in ISO 4217 format.
e.g. use USD for US dollars."
Return only payments from this date (inclusive).
Return only payments up to this date (inclusive).
Return payments related to this order ID.
Return payments of this amount minimum (inclusive).
Return payments of this amount max (inclusive).
ID of the customer that has made the payment.
ID of the merchant involved in the payment.
Email of the customer that has made the payment.
Last 4 digits of the card used for the payment.
Paypal email address associated with the payment.
Klarna email address associated with the payment.
Maximum number of payments to return per page.
1 <= x <= 100If results are paginated, pass the nextCursor to access next page.