curl --request GET \
--url https://api.cashful.africa/api/canary/payment-methods/{id} \
--header 'Authorization: Bearer <token>'{
"id": "pm_001",
"customerId": "customer_789",
"type": "card",
"provider": "iveri",
"brand": "visa",
"last4": "4242",
"expiryMonth": 12,
"expiryYear": 2027,
"phoneNumber": null,
"isDefault": true,
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z"
}Gets the non-sensitive details of a saved card
curl --request GET \
--url https://api.cashful.africa/api/canary/payment-methods/{id} \
--header 'Authorization: Bearer <token>'{
"id": "pm_001",
"customerId": "customer_789",
"type": "card",
"provider": "iveri",
"brand": "visa",
"last4": "4242",
"expiryMonth": 12,
"expiryYear": 2027,
"phoneNumber": null,
"isDefault": true,
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the payment method
Successfully retrieved payment method details
Unique payment method identifier
Customer ID this payment method belongs to
Payment method type (e.g., card, mobile_money)
Payment provider name (e.g., iveri, mpesa)
Whether this is the default payment method
When the payment method was created
When the payment method was last updated
Card brand (e.g., Visa, Mastercard)
Last 4 digits of card number
Card expiry month (1-12)
Card expiry year
Phone number for mobile money