v1
latestOpenAPI 3.1.02026-07-2656258207.2 KBPayment Methods
Create a payment method
Create a payment method
post/payment-methods
Headers
X-Trace-Idstring
A unique identifier to track this operation. It must be between 12 and 255 characters in length.
X-Idempotency-Keystring
A unique identifier to prevent duplicate requests. It must be between 12 and 255 characters in length.
Request body
Example request
{
"type": "card",
"customer_id": "cus_3XarBILKQS"
}Response
OK
Example response
{
"data": {
"id": "pmd_WRq7L4TM8p",
"type": "card",
"customer_id": "cus_3XarBILKQS",
"device_fingerprint": "62wd23423rq324323qew1",
"client_ip": "154.123.220.1",
"created_datetime": "2024-12-03T13:54:21.546559974Z"
}
}