GetStatus/authorization/{id}
GET /authorization/{id}
GetStatus/authorization/{id}
Returns information about a single authorization identified by a ID.
Input Parameters
Name | Data Type | Default value | Description |
---|---|---|---|
ID | String | None. Must be specified | ID acquired from direct-invoice, invoice, loan or part-payment |
Output parameters
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 |