Skip to main content

Documentation Index

Fetch the complete documentation index at: https://apidocs.synchpay.dev/llms.txt

Use this file to discover all available pages before exploring further.

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

ParameterTypeDescriptionRequired
AmountintegerAmount to charge in cents.Yes
RegistrationIdstringUnique ID of the user registration.Yes
PaymentMethodIdstringSaved card payment method ID.Yes
CompanyIdstringSynchPay company ID.No
CompanyReferenceIdstringYour external company reference ID.No
AttachmentstringBase64-encoded PDF attachment.No
DueDatestringDue date in YYYY-MM-DD format.No
Use list saved card payment methods to find the PaymentMethodId.

Example Request

{
  "Amount": 5000,
  "RegistrationId": "6e8d9257-bd5f-45cf-8f29-6d0ae8a6d991",
  "PaymentMethodId": "pm_123",
  "CompanyReferenceId": "loc-001",
  "DueDate": "2026-06-03"
}

Response

FieldTypeDescription
PaymentRequestIdstringCreated payment request ID.
RegistrationIdstringUser registration ID.
StatusstringResulting card payment request status.
ChargedAmountintegerAmount 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