Authorization & Capture
Authorize a payment first (hold the funds), then either capture or void it. This two-step flow is common for services like hotels, car rentals, or order fulfillment.
When
manual: true, the payment is only authorized — funds are held but not captured. You must explicitly capture or void within the authorization period.1
Authorize (Hold Funds)
Create a payment with manual=true. This authorizes the card and holds the amount without charging it.
Verify in Dashboard
Open the Moyasar STAGING Dashboard to see the authorized payment and its status after capture or void.
What happened?
- Authorize:
manual: truetells Moyasar to only authorize the card, not charge it. - The payment status becomes
authorized— funds are held but not captured. - Capture:
POST /v1/payments/:id/capturesettles the authorized amount. - Void:
POST /v1/payments/:id/voidreleases the hold without charging.