PlexySDK DOCS

Tokenization & Accounts

Store payment details as reusable tokens and keep them current

Tokenization & Accounts

Charge a saved payment method

curl -X POST https://api.plexypay.com/v2/payments \
  -H "x-api-key: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 9900,
    "currency": "USD",
    "customer": "cus_abc123",
    "payment_method": "pm_saved_card_xyz789",
    "off_session": true
  }'

List a customer's saved payment methods

curl https://api.plexypay.com/v2/customers/cus_abc123/payment_methods \
  -H "x-api-key: Bearer YOUR_API_KEY"
{
  "data": [
    {
      "id": "pm_card_visa_1234",
      "type": "card",
      "card": {
        "brand": "visa",
        "last4": "4242",
        "exp_month": 12,
        "exp_year": 2028
      },
      "created_at": "2026-01-15T10:30:00Z"
    }
  ]
}

Delete a saved payment method

curl -X DELETE https://api.plexypay.com/v2/payment_methods/pm_card_visa_1234 \
  -H "x-api-key: Bearer YOUR_API_KEY"

On this page