Use 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>
The access token is obtained from /auth/token using your ClientId and ClientSecret.
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 |
Example Request
{
"Amount": 5000,
"RegistrationId": "6e8d9257-bd5f-45cf-8f29-6d0ae8a6d991",
"PaymentMethodId": "pm_123",
"CompanyReferenceId": "loc-001",
"DueDate": "2026-06-03"
}
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. |
{
"PaymentRequestId": "ce0e3549-a83e-4cf6-bb5c-1d50a21d8af7",
"RegistrationId": "6e8d9257-bd5f-45cf-8f29-6d0ae8a6d991",
"Status": "success",
"ChargedAmount": 5000
}
Last modified on June 2, 2026