cURL
curl --request GET \ --url https://sandbox.api.hixbe.com/payment/payment_methods/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Hixbe-Version: <hixbe-version>'
{ "id": "pm_card_123", "type": "card", "card": { "brand": "visa", "last4": "4242", "exp_month": 12, "exp_year": 2027 }, "created_at": "2023-11-07T05:31:56Z", "customer": "<string>" }
Use your secret API key. Example: Authorization: Bearer sk_test_xxx
Authorization: Bearer sk_test_xxx
API version header. Use '2026-01-01' for the latest version.
PaymentMethod
"pm_card_123"
"card"
Show child attributes
Was this page helpful?