palbaseDocs

Palbase Payments · API

GET/payments/me/methods

List saved payment methods

Lists the signed-in customer's active saved payment methods: each channel's default first, then the newest. Once a billing portal session was opened for the customer, the list follows what the provider has, as ListCustomerMethods does.

Called by a signed-in user of your app, with their token and the publishable key.

curl
curl -X GET "https://<your-ref>.palbase.studio/payments/me/methods" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN"

Responses

200OK

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation ListMyMethods of payments's contract.