cURL
curl --request POST \ --url https://ebrcapi.dev.eximfiles.com/api/v1/platform-customers/{id}/check-dgft-credentials \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "dgftUsername": "<string>", "dgftPassword": "<string>" } '
{ "id": "<string>", "name": "<string>", "email": "[email protected]", "type": "customer", "companyName": "<string>", "address": "<string>", "platformId": "<string>", "isActive": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Validate DGFT portal credentials
The customer ID
DGFT portal username
DGFT portal password
Credentials validated successfully
Unique identifier of the platform customer
customer
Platform user ID that owns this customer