Authorization, Captures, and Reversals
Authorization, Captures, and Reversals in Revolv3 API
Revolv3’s API allows merchants to authorize payments, capture funds, and reverse authorizations, providing a flexible and secure payment management system. This guide explains how to:- Authorize a payment (reserve funds without charging the customer immediately).
- Capture a payment (finalize and charge a previously authorized payment).
- Reverse an authorization (cancel a payment hold).
- Payment Authorization
API Endpoint for Payment Authorization
Sample API Request (Authorizing a Payment)
Explanation of API Request Fields
Field | Description |
---|---|
PaymentMethod | Contains the payment details used for authorization. |
BillingAddress | The cardholder’s billing address. |
BillingFirstName, BillingLastName | The name on the payment method. |
CreditCard.PaymentAccountNumber | The card number used for authorization. |
CreditCard.ExpirationDate | The expiration date of the card (Format: MMYY). |
NetworkProcessing.ProcessingType | Specifies the type of transaction (e.g., initialInstallment). |
NetworkProcessing.OriginalNetworkTransactionId | Used for linked transactions (set to null for new authorizations). |
Amount.Value | The amount to be authorized (e.g., $30.99). |
Alternative Authorization Using a Stored Payment Method
Instead of passing full payment details, merchants can authorize a payment using an existing PaymentMethodId.API Endpoint
Request Payload Example
- Authorization Response
Sample API Response
Explanation of API Response Fields
Field | Description |
---|---|
networkTransactionId | The unique ID assigned by the payment network for tracking. |
paymentMethodAuthorizationId | The unique authorization ID, required for capture or reversal. |
paymentMethod.paymentMethodId | The internal ID of the stored payment method. |
billingAddress | The billing address associated with the payment method. |
paymentMethodCreditCardDetails.paymentLast4Digit | The last four digits of the authorized card. |
paymentMethodCreditCardDetails.paymentExpirationDate | The expiration date of the card. |
- Capturing an Authorized Payment
API Endpoint for Capturing Funds
Sample Capture Request
Explanation of API Request Fields
Field | Description |
---|---|
CustomerId | Optional; assigns the payment to a customer profile. |
Invoice.MerchantInvoiceRefId | A unique identifier for tracking the invoice. |
Invoice.Amount.Value | The final amount to be captured. |
Key Notes:
✔ The PaymentMethodAuthorizationId must be provided to capture the funds. ✔ A capture request must be made before the authorization expires (typically within 7 days).- Reversing an Authorization
API Endpoint for Authorization Reversal
Sample Reversal Request
Explanation of API Request Fields
Field | Description |
---|---|
PaymentMethodAuthorizationId | The authorization ID of the payment to be reversed. |
Key Notes:
✔ A reversal cancels the authorization, ensuring that the funds are no longer held. ✔ Once reversed, the authorization cannot be captured, and a new authorization is required to reattempt the payment.Make a Payment