Retrieve authorization

View as MarkdownOpen in Claude
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.
authorizationIdinteger
Unique identifier that we assigned to the authorization.
createdDatedate

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

lastModifiedDatedate

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

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

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

batchobject or null
Object that contains information about the batch. If we can't match a dispute to a batch, we don't return 'batch' object.
cardobject
Object that contains information about the card.
merchantobject
Object that contains information about the merchant.
transactionobject
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