latestOpenAPI 3.0.12026-08-104242199.9 KB

8df83424e244

Instant Top-Up Payment Methods

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.

get/v1/persons/{person_id}/topups/payment_methods

Path parameters

person_idstring required

Response

The operation was successful.

person_idstring

Unique ID of the person.

payment_method_idstring

Unique ID of the payment method.

card_last4string

The last four digits of the card associated with the payment method.

card_brandstring

The issuer of the card associated with the payment method. Solaris pulls this information directly from the Acquirer's SDK.

Example response

[
  {
    "person_id": "18de883f507d49b8a074519c73cecper",
    "payment_method_id": "53165f2b3a8846bd9fd344342a6093d6",
    "card_last4": "7654",
    "card_brand": "mastercard"
  }
]