Secure Payments API GET Customer Notes
General
Getting customer notes is one of the customer options available through the Secure Payments (formerly PCI Wallet) API.
How To
To get all notes associated to a customer, send a GET request to the endpoint: customers/{id}/notes
Sample payload:
curl -X GET --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET\'
'https://pciwallet.simnang.com/api/customers/12/notes'
Response:
[
{
"id": 3,
"customer_id": 2,
"note": "Sample Note",
"created": "2017-4-11 22:52:40"
},
{
"id": 7,
"customer_id": 8,
"note": "Hello",
"created": "2017-5-22 19:32:53"
}
]
Return all the notes associated with the requested customer.