Secure Payments API Get Callbacks
General
How To
To get callbacks, send a GET request to the endpoint: callback/all
Sample Request:
curl -X GET --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' 'https://pciwallet.simnang.com/api/callback/all'
Response:
[
{
"id": 2,
"user_id": 36,
"event": "credit-card-update",
"url": "https://sample.url",
"enabled": true,
"created": "2017-3-30 21:50:48"
},
{
"id": 3,
"user_id": 36,
"event": "bank-account-create",
"url": "https://sample.url",
"enabled": true,
"created": "2017-3-30 21:51:30"
}
]
This will return all callbacks for your user.