Tore
GET https://marketing.qreq.com/api/gateways
curl --request GET \
--url 'https://marketing.qreq.com/api/gateways' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://marketing.qreq.com/api/gateways' \
--header 'Authorization: Bearer {api_key}' \
{
"data": [
{
"id": 1,
"name": "PayPal",
"status": "active",
"settings": {
"client_id": "...",
"secret": "..."
},
"date": "2025-01-01 12:00:00"
},
{
"id": 2,
"name": "Stripe",
"status": "inactive",
"settings": {
"publishable_key": "...",
"secret_key": "..."
},
"date": "2025-01-02 15:30:00"
}
]
}
GET https://marketing.qreq.com/api/gateways/{id}
curl --request GET \
--url 'https://marketing.qreq.com/api/gateways/1' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://marketing.qreq.com/api/gateways/1' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "PayPal",
"status": "active",
"settings": {
"client_id": "...",
"secret": "..."
},
"date": "2025-01-01 12:00:00"
}
}