Skip to content

Verify a subscriber

GET
/storefronts/{storefront_id}/subscribers/verify
curl --request GET \
--url 'https://api.getdpd.com/v2/storefronts/1/subscribers/verify?username=test%40example.com' \
--header 'Authorization: Basic <credentials>'

Returns just the subscriber’s subscription status, as plain text. Pass id or username. Subscribers with ACTIVE, TRIAL or PAST_DUE should get service.

storefront_id
required
integer
username
string

The subscriber’s username (their email address).

Example

test@example.com
id
integer

The subscriber ID. Used instead of username when both are given.

The subscription status.

Media typetext/plain
  • NEW Not activated yet: checking out, or abandoned signup.
  • TRIAL In the trial period.
  • ACTIVE Active, no payment due.
  • CANCELED Canceled, but the current term hasn’t ended.
  • CLOSED Canceled and closed.
  • PAST_DUE Active, but a payment is overdue. Closes if it isn’t paid.
string
Allowed values: NEW TRIAL ACTIVE CANCELED CLOSED PAST_DUE

The username or API password is wrong.

Nothing found: the record doesn’t exist or isn’t yours, the list is empty, or the page is past the last one.

Media typeapplication/json
object
status
string
Allowed value: NOTFOUND

Example

{
"status": "NOTFOUND"
}