This endpoint allows users to retrieve their payment information. Please ensure you have proper authorization before accessing this resource.
Request Parameters 📦
user_id
(required): Unique identifier for the userpayment_method
(optional): Filter by payment method (e.g., credit_card, paypal, crypto)amount
(optional): Minimum transaction amount
Example Request 🌐
GET /en/api/user/payment?user_id=12345 HTTP/1.1
Accept: application/json
Response Structure 📄
{
"user": {
"id": "12345",
"payment_methods": [
{
"method": "credit_card",
"last_four_digits": "4242",
"expiry_date": "12/25"
}
]
}
}
For more details on payment configurations, visit our Payment Guide.