Retrieve authorization

Use this method to retrieve information about an authorization. **Note:** To retrieve an authorization, you need its authorizationId. If you don't have the authorizationId, use our [List Authorizations](https://docs.payroc.com/api/schema/reporting/settlement/list-authorizations) method to search for the authorization. Our gateway returns the following information about the authorization: - Authorization response from the issuing bank. - Amount that the issuing bank authorized. - Merchant that ran the authorization. - Details about the customer's card, the transaction, and the batch.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

authorizationIdintegerRequired
Unique identifier of the authorization.

Response

Successful request. Returns the requested authorization.
authorizationIdintegerOptional
Unique identifier that we assigned to the authorization.
createdDatedateOptional

Date that we received the authorization. The format of this value is YYYY-MM-DD.

lastModifiedDatedateOptional

Date that the authorization was last changed. The format of this value is YYYY-MM-DD.

authorizationResponseenumOptional
Response from the issuing bank for the authorization.
preauthorizationRequestAmountintegerOptional
Amount that the merchant requested for the authorization. We return the value in the currency's lowest denomination, for example, cents.
currencystringOptional

Currency of the authorization. The value for the currency follows the ISO 4217 standard.

batchobject or nullOptional
Object that contains information about the batch. If we can't match a dispute to a batch, we don't return 'batch' object.
cardobjectOptional
Object that contains information about the card.
merchantobjectOptional
Object that contains information about the merchant.
transactionobjectOptional
Object that contains summary information about the transaction that the dispute is linked to.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
406
Not Acceptable Error
500
Internal Server Error