Customer
string · requiredinteger · int32 · requiredstring · uuid · requiredstring · requiredinteger · int32 · requiredinteger · int32 · requiredstring · uuid · requiredstring · uuid · requiredstringstring · datestring · uuid
Properties for Variant 1:stringstring · uuid
string · uuid · requiredstring · requiredinteger · int32 · requiredstring · uuid · requiredinteger · int32 · requiredinteger · int32 · requiredstring · uuid · requiredstring · uuid · requiredstringstringstring · date
customers--general
Operations addressed under /customers — 126 operations.
Rendered section: This page contains the general 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-customer
POST
https://dg-sandbox.dgpays.com/customer-service
/customers
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
create-customer › Request Body
citizenidcitizenidTypecreatedOrganizationIdcustomerNumbercustomerSubTypecustomerTypemainOrganizationIdonboardedOrganizationIdfullNameonboardedDatepartnerIdcreate-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 |
customerNumberidupdate-customer
PUT
https://dg-sandbox.dgpays.com/customer-service
/customers/{id}
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
path Parameters
idupdate-customer › Request Body
citizenidcitizenidTypecreatedOrganizationIdcustomerSubTypecustomerTypemainOrganizationIdonboardedOrganizationIdcustomerNumberfullNameonboardedDateupdate-customer › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT.
No data returned