post
https://api.revaly.co/payments/authorize
Authorize a payment without immediately capturing funds.
This endpoint creates an authorization hold on the customer's payment method.
The authorized amount can later be captured using the capture endpoint.
Payment Method Types:
- creditCard: Process using raw credit card details
- gatewayPaymentMethodId: Process using an existing gateway payment method id
- vaultToken: Process using a vault-issued token (requires the request-level
customerId)
paymentMethodType may be omitted when exactly one of paymentMethod.creditCard,
paymentMethod.gatewayPaymentMethod, or paymentMethod.vaultPaymentMethod is supplied —
the type is inferred. See the AuthorizeRequest schema for the per-type required fields.
To charge a previously stored payment method, omit paymentMethodType and supply paymentMethod.paymentMethodId.
A 404 is also returned when the deprecated bypassPlatform field is true: the request is
refused before it reaches any payment processor.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…

