Customer
string · uuid · requiredstring · date · requiredstring · requiredstring · requiredstring
Properties for Variant 1:string · uuid
string · uuid · requiredstring · uuid · requiredstring · date · requiredstring · requiredstring · requiredstring
customers--potentials
Operations addressed under /customers — 126 operations.
Rendered section: This page contains the potentials route group from customers. This is a presentation-only partition; it does not change the API contract or operation tags in the downloadable OpenAPI.
create-potential-customer
POST
https://dg-sandbox.dgpays.com/customer-service
/customers/{id}/potentials
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
path Parameters
idcreate-potential-customer › Request Body
birthDatenamesurnamemiddleNamecreate-potential-customer › 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-potential-customer
PUT
https://dg-sandbox.dgpays.com/customer-service
/customers/{id}/potentials/{individualCustomerId}
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
path Parameters
idindividualCustomerIdupdate-potential-customer › Request Body
birthDatenamesurnamemiddleNameupdate-potential-customer › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT.
No data returned