List the caller's stored payment methods.
Returns safe display metadata only — `brand`, `last4`, `expMonth/Year`, `walletType`. The encrypted provider token never leaves the server.
Authorization
bearerAuth AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/payments/methods"{ "data": { "items": [ { "id": "pmt_01jq8za1a3c5e7g9j1l3n5p7q9", "provider": "paymob", "walletType": null, "brand": "visa", "last4": "4242", "expMonth": 12, "expYear": 2030, "isDefault": true, "createdAt": "2026-05-14T13:20:11.000Z" }, { "id": "pmt_01jq8za2b4d6f8h0k2m4o6q8s0", "provider": "paymob", "walletType": null, "brand": "mada", "last4": "0007", "expMonth": 12, "expYear": 2030, "isDefault": false, "createdAt": "2026-04-29T18:11:00.000Z" } ] }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "AUTH_REQUIRED", "message": "Authentication is required to access this resource." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}Charge a pending payment order against a saved card (CIT). POST
The customer is at the renewal screen and tapped "use saved card". The endpoint decrypts the saved card token, runs Paymob's CIT flow (`/api/ecommerce/orders` → `/api/acceptance/payment_keys` → `/api/acceptance/payments/pay` with `source: { subtype: TOKEN }`), then advances the PaymentOrder along the same code path a webhook would. CVV is forwarded when the integration requires it (`use_cvc_with_moto`). When the acquirer triggers 3-DS step-up the order stays `pending` and the follow-up webhook drives the transition — the response carries `status3ds: "required"` so the client knows to poll.
Delete a stored payment method. DELETE
Next Page