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 GET /Payment/CardPaymentMethods/{registrationId} to list saved card payment methods for a registered customer.

Endpoint

  • URL: https://api.synchpay.com/Payment/CardPaymentMethods/{registrationId}
  • Method: GET
  • Authorization: Bearer <AccessToken>
The access token is obtained from /auth/token using your ClientId and ClientSecret.

Parameters

ParameterLocationTypeDescriptionRequired
registrationIdPathstringUnique ID of the user registration.Yes
companyIdQuerystringSynchPay company ID.No
companyReferenceIdQuerystringYour external company reference ID.No
Use either companyId or companyReferenceId when the saved cards should be scoped to a specific company.

Example Request

GET /Payment/CardPaymentMethods/6e8d9257-bd5f-45cf-8f29-6d0ae8a6d991?companyReferenceId=loc-001 HTTP/1.1
Host: api.synchpay.com
Authorization: Bearer eyJhbGciOi...

Response

FieldTypeDescription
RegistrationIdstringUser registration ID.
PaymentMethodsarraySaved card payment methods.

Payment Method Object

FieldTypeDescription
IdstringSaved payment method ID.
TypestringPayment method type.
BrandstringCard brand, when available.
Last4stringLast four card digits, when available.
ExpMonthintegerExpiration month, when available.
ExpYearintegerExpiration year, when available.
{
  "RegistrationId": "6e8d9257-bd5f-45cf-8f29-6d0ae8a6d991",
  "PaymentMethods": [
    {
      "Id": "pm_123",
      "Type": "card",
      "Brand": "visa",
      "Last4": "4242",
      "ExpMonth": 12,
      "ExpYear": 2028
    }
  ]
}
Last modified on June 2, 2026