POST /authorization/{id}
Returns information about a single authorization identified by a ID.
Name | Data Type | Default value | Description |
---|---|---|---|
ID | String | None. Must be specified | ID acquired from direct-invoice, invoice, loan or part-payment |
The method returns an object that differs if the purchase was loan, invoice, direct payment or card payment.
Name | Data Type | Description |
---|---|---|
AuthorizationID | String | Id identifying the specific authorization. |
Status | String | Status of the authorization 0 = Approved 1 = Rejected 2 = Canceled 3 = Failed |
InBackoffice | Boolean | Authorization has been processed and requests to backoffice api order, cancel and return are allowed. |
ErrorCode | int | Error code |
ErrorMessage | String | Error message |
{
"authorizationId": "string",
"status": 0,
"creditLimit": 0,
"inBackOffice": true,
"errorCode": 0,
"errorMessage": "string"
}
{
"authorizationId": "string",
"redirectUrl": "string"
}
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"extensions": {}
}