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
Key | Datatype | Required | Description |
---|---|---|---|
payment_gateway_type | string | (Required) Selected payment service provider. | |
order_reference | string | (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_reference | string | [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"}