PaymentMethod
Module endpoints
GET /payment-methods
GET /payment-methods
GET
https://api.slyk.io/payment-methos
Returns a list of payment methods
.
Name
Type
Example
createdAt
=
gte
lte
filter[createdAt]=gte:2019-07-21
enabled
=
in
nin
filter[enabled]=in:false
slug
=
in
nin
filter[slug]=in:paypal,stripe
GET /payment-methods/:slug
GET /payment-methods/:slug
GET
https://api.slyk.io/payment-methods/:slug
Returns the payment method
details of the given slug
.
{
"data": {
"createdAt": "2019-07-21T14:30:37.483Z",
"enabled": true,
"metadata": {
"clientId": "corge",
"secret": "01234*****"
},
"name": "Paypal",
"slug": "paypal"
}
}
Last updated
Was this helpful?