v1
latestOpenAPI 3.0.12026-07-14134373.9 KBPayment Service
Retrieve payment methods
Returns a list of available payment methods, along with their corresponding fees.
post/payment/paymentMethods
Request body
Example request
{
"amount": 25.5
}Response
Retrieved payment methods successfully.
Example response
{
"environment": "test",
"paymentMethods": [
{
"name": "Credit Card",
"type": "creditcard",
"totalAmount": 10.35,
"fee": {
"amount": 1.25
}
}
],
"storedPaymentMethods": [
{
"name": "Visa ending in 1234",
"type": "creditcard",
"totalAmount": 10.35,
"fee": {
"amount": 1.25
}
}
]
}