Function payment/export (http://<DOMAIN>/api/payment/export/)
Parameters:
Response:
Query example to http://<DOMAIN>/api/payment/export/
{
"token": "24a75d0678c49a34030e35baeb376ff3"
}
Response example
{
"status": "OK",
"response": {
"payment": [
{
"id": 12,
"title": {
"en": "Cashless payment",
"ro": "Transfer bancar"
},
"desc": {
"en": "",
"ro": ""
},
"payment_method": 1,
"enabled": true,
"icon": null,
"link": "",
"icon_title": {
"en": "",
"ro": ""
},
"payment_instruction": {
"en": "",
"ro": ""
}
},
{
"id": 13,
"title": {
"en": "In cash",
"ro": "Numerar"
},
"desc": {
"en": "",
"ro": ""
},
"payment_method": 1,
"enabled": true,
"icon": null,
"link": "",
"icon_title": {
"en": "",
"ro": ""
},
"payment_instruction": {
"en": "",
"ro": ""
}
},
{
"id": 14,
"title": {
"en": "Online payment (Stripe)",
"ro": "Plata online (Stripe)"
},
"desc": {
"en": "",
"ro": ""
},
"payment_method": 2,
"enabled": true,
"icon": "http:\\/\\/my.cartum.dev\\/content\\/images\\/50\\/34905029336611.jpg",
"link": "",
"icon_title": {
"en": "We accept payments with Visa\\/Mastercard via Stripe",
"ro": "Acceptăm plăți cu Visa\\/Mastercard prin Stripe"
},
"payment_instruction": {
"en": "",
"ro": ""
}
},
{
"id": 15,
"title": {
"en": "Cash on delivery",
"ro": "Plată la livrare"
},
"desc": {
"en": "",
"ro": ""
},
"payment_method": 1,
"enabled": true,
"icon": null,
"link": "",
"icon_title": {
"en": "",
"ro": ""
},
"payment_instruction": {
"en": "",
"ro": ""
}
},
{
"id": 16,
"title": {
"en": "PayPal",
"ro": "PayPal"
},
"desc": {
"en": "",
"ro": ""
},
"payment_method": 4,
"enabled": false,
"icon": null,
"link": "https:\\/\\/www.paypal.com\\/",
"icon_title": {
"en": "PayPal",
"ro": "PayPal"
},
"payment_instruction": {
"en": "",
"ro": ""
}
}
]
}
}