cURL
curl --request POST \ --url https://api.treasuryprime.com/webhook \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "basic_secret": "secret", "basic_user": "organization_name", "event": "ach.update", "url": "https://example.application.com/notify" }'
{ "basic_secret": null, "basic_user": "organization_name", "created_at": "2018-12-03T19:46:45Z", "error": null, "event": "ach.update", "id": "wh_012345678923", "status": "enabled", "updated_at": "2018-12-03T19:46:45Z", "url": "https://example.application.com/notify", "userdata": null }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The webhook to create
The body is of type object.
object
The webhook created
The response is of type object.