Res Diary Payments
POST /{partner_id}/payments/confirm
Section titled “POST /{partner_id}/payments/confirm”Confirm Resdiary Payment
Parameters
Section titled “Parameters”| Name | In | Type | Required | Notes |
|---|---|---|---|---|
partner_id |
path | string | Yes | — |
Request body
Section titled “Request body”| Field | Type | Required | Notes |
|---|---|---|---|
bookingReference |
string | Yes | — |
bookingToken |
string | Yes | — |
paymentMethodId |
string | Yes | — |
intentType |
string | No | — |
paymentIntentId |
string | No | — |
Responses
Section titled “Responses”| Code | Meaning |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
Example
Section titled “Example”curl -X POST 'https://<partner-api-host>/<partner_id>/payments/confirm' \ -H 'apikey: <your-api-key>' \ -H 'Content-Type: application/json' \ -d '{"bookingReference": "<bookingReference>", "bookingToken": "<bookingToken>", "paymentMethodId": "<paymentMethodId>"}'