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.
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>
Parameters
| Parameter | Location | Type | Description | Required |
|---|---|---|---|---|
registrationId | Path | string | Unique ID of the user registration. | Yes |
companyId | Query | string | SynchPay company ID. | No |
companyReferenceId | Query | string | Your external company reference ID. | No |
Use either
companyId or companyReferenceId when the saved cards should be scoped to a specific company.Example Request
Response
| Field | Type | Description |
|---|---|---|
RegistrationId | string | User registration ID. |
PaymentMethods | array | Saved card payment methods. |
Payment Method Object
| Field | Type | Description |
|---|---|---|
Id | string | Saved payment method ID. |
Type | string | Payment method type. |
Brand | string | Card brand, when available. |
Last4 | string | Last four card digits, when available. |
ExpMonth | integer | Expiration month, when available. |
ExpYear | integer | Expiration year, when available. |