UseDocumentation Index
Fetch the complete documentation index at: https://apidocs.synchpay.dev/llms.txt
Use this file to discover all available pages before exploring further.
POST /Payment/ChargeSavedCard to create a payment request for a registered customer and charge a saved card payment method.
Endpoint
- URL:
https://api.synchpay.com/Payment/ChargeSavedCard - Method:
POST - Authorization:
Bearer <AccessToken>
Request Body
| Parameter | Type | Description | Required |
|---|---|---|---|
Amount | integer | Amount to charge in cents. | Yes |
RegistrationId | string | Unique ID of the user registration. | Yes |
PaymentMethodId | string | Saved card payment method ID. | Yes |
CompanyId | string | SynchPay company ID. | No |
CompanyReferenceId | string | Your external company reference ID. | No |
Attachment | string | Base64-encoded PDF attachment. | No |
DueDate | string | Due date in YYYY-MM-DD format. | No |
Use list saved card payment methods to find the
PaymentMethodId.Example Request
Response
| Field | Type | Description |
|---|---|---|
PaymentRequestId | string | Created payment request ID. |
RegistrationId | string | User registration ID. |
Status | string | Resulting card payment request status. |
ChargedAmount | integer | Amount charged in cents. |