Foreign Trade
string · requiredboolean · requiredstring · required
reference-numbers
Operations addressed under /reference-numbers — 2 operations.
get-foreign-trade-reference-number
POST
https://dg-sandbox.dgpays.com/foreign-trade-service
/reference-numbers/generate
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as ReferenceNumberDto.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
Description | string | no |
Counter | int | no |
LastReference | string | no |
Direction | string | no |
Member names are the service's declaration names.
get-foreign-trade-reference-number › Request Body
directionisDomestictransactionTypeget-foreign-trade-reference-number › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
No data returned
validate-reference-number
POST
https://dg-sandbox.dgpays.com/foreign-trade-service
/reference-numbers/validate
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as ValidateReferenceNumberResultDto.
| Field | Declared type | Nullable |
|---|---|---|
IsValid | bool | no |
Member names are the service's declaration names.
validate-reference-number › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
No data returned