AladiaDocs
Api referencePaymentPayment methods

Add customers to a payment method

Create a payment method

POST
/v2/payment/customers/payment-methods

Create a payment method

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v2/payment/customers/payment-methods" \  -H "Content-Type: application/json" \  -d '{    "request": {},    "paymentMethodId": "string",    "isDefault": true  }'
{  "resource": {},  "request": {},  "webhookEventName": "course.created"}