# Index payment methods for a person Returns an array containing all payment methods that have been stored for the person specified in the request URL. Endpoint: GET /v1/persons/{person_id}/topups/payment_methods Version: 1.0 ## Path parameters: - `person_id` (string, required) ## Response 200 fields (application/json): - `person_id` (string) Unique ID of the person. Example: "18de883f507d49b8a074519c73cecper" - `payment_method_id` (string) Unique ID of the payment method. Example: "53165f2b3a8846bd9fd344342a6093d6" - `card_last4` (string) The last four digits of the card associated with the payment method. Example: "7654" - `card_brand` (string) The issuer of the card associated with the payment method. Solaris pulls this information directly from the Acquirer's SDK. Example: "mastercard" ## Response 400 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `code` (string) Example: "invalid_request" - `title` (string) Example: "Invalid Request" - `details` (string) Example: "Request is invalid" ## Response 403 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `code` (string) Example: "unauthorized_action" - `title` (string) Example: "Unauthorized Action" - `details` (string) Example: "Unauthorized action is not allowed." ## Response 404 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `code` (string) Example: "model_not_found" - `title` (string) Example: "Model Not Found" - `details` (string) Example: "Model was not found" ## Response 500 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `code` (string) Example: "generic_error" - `title` (string) Example: "Internal Server Error" - `details` (string) Example: "Internal server error occurred"