Skip to main content
GET
/
api
/
v3
/
payment-methods
/
{donorId}
Get Payment Methods
curl --request GET \
  --url https://server.stage.overflow.co/api/v3/payment-methods/{donorId} \
  --header 'x-client-id: <api-key>'
{
  "data": [
    {
      "id": "6710f34fd5061afeec3eab57",
      "last4": "4242",
      "type": "card",
      "updatedAt": "2025-01-01T00:00:00.000Z",
      "holderName": "John Doe",
      "expirationDate": "12/26",
      "isExpired": "false"
    }
  ]
}

Authorizations

x-client-id
string
header
required

Client ID for API authentication

Path Parameters

donorId
string
required

The ID of the donor to get payment methods for.

Example:

"2ea1ae03ca521e437db76d76"

Query Parameters

maximumUpdatedDate
string<date-time>

The maximum updated date of the payment methods to return. YYYY-MM-DD

Example:

"2025-02-01"

minimumUpdatedDate
string<date-time>

The minimum updated date of the payment methods to return. YYYY-MM-DD

Example:

"2025-01-01"

showExpired
default:false

Whether to return expired payment methods or not.

Response

data
object[]
required

List of payment methods for donor