payment-methods

Get payment method

Get a payment method by its ID

get/payment-methods/{id}

Request

  • Base URL: https://api.agentpaid.io/api/v2
  • URL: https://api.agentpaid.io/api/v2/payment-methods/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Response

200

idstring required

Unique payment method identifier.

customerIdstring required

The customer this payment method belongs to.

externalPaymentMethodIdstring required

The payment processor's identifier for this payment method (e.g. a Stripe payment method ID).

typestring required

Payment method type, e.g. "card".

isDefaultboolean required

Whether this is the customer's default payment method.

createdAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.