Skip to content

Verify a purchase notification

POST
/notification/verify
curl --request POST \
--url https://api.getdpd.com/v2/notification/verify \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data verify_sign=example

Checks that a purchase notification POSTed to your site by DPD’s URL integration really came from DPD. POST back every parameter you received, unchanged, including verify_sign.

Media typeapplication/x-www-form-urlencoded
object
verify_sign
required

The signature DPD sent with the notification.

string
key
additional properties
string

Example generated

verify_sign=example

Whether the notification is genuine.

Media typetext/plain
string
Allowed values: VERIFIED INVALID

The username or API password is wrong.