Payments
Capture payments
Was this helpful?
Capture payments
Was this helpful?
Manage and settle payments using the API.
Not applicable to B2B resellers / purchases (Indirect sales / SettlementType:EXTERNAL
).
This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.
In case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (payment_refund:true
) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.
Either the order_reference
, booking_reference
, product_type_transaction_id
, payment_id
, payment_merchant_reference
or payment_service_provider_reference
is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded.
A unique order / reservation reference. If provided, all payments linked to this order will be refunded.
ORDRREF123456
(ADVANCED) In case a booking_reference
is provided, a partial refund will be registered. Only the specified booking will be refunded.
["BOOKING_REFERENCE_123"]
(ADVANCED) In case the product_type_transaction_id
is provided, a partial refund will be made. Only the specified transaction(s) will be refunded.
["159118380521834001"]
Unique Payment ID set by the Prio system. This is an internal identifier.
de1829d0-e144-11ea-bc09-f935c77bef95
Unique (external) payment reference set by the merchant / (third) party / POS system initiating the payment.
1478349849927_771663371
Reference set by payment service provider
852596799876396F
Refund reason.
Guest reimbursement
This API is called to get available payment methods and configuration from a Prio PSP.
Payment service provider used to process payments.
ADYEN
- Adyen (More info)CYBERSOURCE
- Cybersource (More info)HYPERPAY
- Hyperpay (More info)ADDONPAYMENTS
- Addon Payments (More info)MEWS
- Mews (More info)NGENIUS
- Network International (More info)MULTISAFE
- MultiSafePay (More info)SUMUP
- SumUp Payments (More info)IZETTLE
- iZettle (More info)STRIPE
- Stripe (More info)WORLDPAY
- WorldPay (More info)GOOGLE
- Google Pay (More info)PAYONEER
- Payoneer (More info)SMARTPAY
- Smart Pay (More info)MOKA
- Moka (More info)EXTERNAL
- The payment is settled externally.OTHER
- Payment provider not listed above.NONE
- No payment provider is used.NONE
Example: ADYEN
Possible values: Order reference.
ORDRREF123456
[FILTER] Return the stored payment methods for a specific (returning) shopper (payment_recurring:true
).
SHOPPER_REFERENCE
This API allows to sent a payment email.
Email Recipient rules:
If set, we sent to the first contact_type:PAYMENT
.
Otherwise, if set, we sent to the first contact_type:BOOKER
.
Otherwise, if set, we sent to the first contact_type:CONTACT
.
If none of the above are set, we sent to the first contact in the array.
If no contacts are provided, an error will be returned.
Order reference for which the payment email should be sent. You can also pass the reservation_reference
in this field.
ORDRREF123456
Specific booking reference for which the payment email should be sent.
BOOKINGREF123
No content
This API is called to list all payments in your account.
[FILTER] on order_reference
. You can also pass the reservation_reference
in this field.
ORDRREF123456
[FILTER] on payment_id
.
de1829d0-e144-11ea-bc09-f935c77bef95
[FILTER] on payment_merchant_reference
.
3fa85f64-5717-4562-b3fc-2c963f66afa6
[FILTER] on payment_service_provider_reference
.
3fa85f64-5717-4562-b3fc-2c963f66afa6
[FILTER] on payment_external_reference
.
SHOPPER_REFERENCE
[PAGING] Items Per Page - Allows user's to configure the items_per_page
value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100.
This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.
Clients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the items_per_page
response element in calculating actual page size.
10
Example: 5
[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200.
1
Example: 1
[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items.
This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The page_index
and total_pages
properties are used for this style of paging.
1
Example: 1
[CACHE] The If-Modified-Since
request HTTP header makes the request conditional: the server will send back the requested resource, with a 200 status, only if it has been modified after the given date.
If the resource has not been modified since, the response will be a 304 without any body; the Last-Modified
response header of a previous request will contain the date of last modification.
Note that if a single resource has changed, all records matching your request will be returned, not just those changed after the given date. This provides you with an efficient caching method.
Wed, 21 Jan 2022 07:28:00 GMT
This API is called to initiate a payment on a Prio connected PSP or to settle a manual payment. This is a required step if SettlementType:DIRECT
.
Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales /
SettlementType:EXTERNAL
).Once a payment has been made you are unable to amend the reservation.
If only a order_reference
is provided, a full payment will be registered and all bookings will be automatically paid. You can also pass the reservation_reference
in this field.
ORDRREF123456
(ADVANCED) In case a booking_reference
is provided, a partial payment will be registered. Only the specified booking will be paid.
["BOOKING_REFERENCE_123"]
Create payment request model.
Represents the version of the service API that's served in the response.
3.8.0
This API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace.
A unique identifier got in response of the create payment API.
de1829d0-e144-11ea-bc09-f935c77bef95
Additional details returned by Adyen front-end application.