Secure Payments API – PUT Customer Note

General

Updating a customer note is one of the customer options available through the Secure Payments (formerly PCI Wallet) API.

How To

To edit an existing note, send a PUT request to the endpoint:

PUT https://pciwallet.simnang.com/api/customers/{id}/note/{note-id}
The customer and note IDs are both specific to the note you're trying to edit. If you don't know the customer ID, see our GET Customers article. If you don't know the note ID, see GET Customer Notes.

Sample payload:

{    "note": "Sample note edit"  }

Sample cURL request:

curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' -d '{ \
"note": "Sample note edit" \
}' 'https://pciwallet.simnang.com/api/customers/"customer id"/note/"note id"'

Response:

{
"result": true
}

If you get a 404 error, it might be that you used /note in the endpoint rather than /notes. It could also be that you've sent a POST request instead of a PUT.


How did we do?


Powered by HelpDocs (opens in a new tab)