Customer
string · requiredstring · requiredinteger · int32 · requiredstring · required
Properties for Variant 1:string · uuid
string · uuid · requiredstring · requiredinteger · int32 · required
blacklists
Operations addressed under /blacklists — 4 operations.
create-black-list
POST
https://dg-sandbox.dgpays.com/customer-service
/blacklists
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Invokes the create-black-list service definition through POST /blacklists.
create-black-list › Request Body
citizenidentryDescriptionentryReasonfullNamecreate-black-list › Responses
Success. The schema is an anyOf over three envelopes: the record, a bare array of it, and a page {total, data[]} carrying the same record.
anyOf
At least one variant must match. Multiple variants may match simultaneously.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = array | |
| type = object · requires: data |
idupdate-black-list
PUT
https://dg-sandbox.dgpays.com/customer-service
/blacklists/{id}
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
path Parameters
idupdate-black-list › Request Body
exitDescriptionexitReasonupdate-black-list › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT.
No data returned