Get Payment Configuration

GET {{baseUrl}}/payments/config?payment_gateway_type=ADYEN&order_reference=ORDRREF123456

This API is called to get available payment methods and configuration from a Prio PSP.

Request Params

KeyDatatypeRequiredDescription
payment_gateway_typestring(Required) Selected payment service provider.
order_referencestring(Required) [FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a order_reference or reservation_reference is provided, such details will be sent forward to the PSP system.
payment_external_referencestring[FILTER] Return the stored payment methods for a specific (returning) shopper (payment_recurring:true).

RESPONSES

status: OK

{"payment_methods":"{\\\"groups\\\":[{\\\"name\\\":\\\"Credit Card\\\",\\\"types\\\":[\\\"mc\\\",\\\"visa\\\"...","payment_origin_key":"pub.v2.99...","payment_origin_domain":"https://www.your-company.com"}