Skip to content
Download OpenAPI description
Languages
Servers
Mock Server

https://docs.solarisgroup.com/_mock/api-reference/digital-banking/transactions/

Operations
Operations
Operations
Operations

Index payment methods for a person

Request

Returns an array containing all payment methods that have been stored for the person specified in the request URL.

Path
person_idstringrequired
No request payload

Responses

The operation was successful.

Bodyapplication/jsonArray [
person_idstring

Unique ID of the person.

Example: "18de883f507d49b8a074519c73cecper"
payment_method_idstring

Unique ID of the payment method.

Example: "53165f2b3a8846bd9fd344342a6093d6"
card_last4string

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

Example: "7654"
card_brandstring

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

Example: "mastercard"
]
Response
application/json
[ { "person_id": "18de883f507d49b8a074519c73cecper", "payment_method_id": "53165f2b3a8846bd9fd344342a6093d6", "card_last4": "7654", "card_brand": "mastercard" } ]

Request

Deletes the payment method with the ID specified in the request URL.

Path
person_idstringrequired
payment_method_idstringrequired
No request payload

Responses

The operation was successful.

Bodyapplication/json
payment_method_idstring

ID of the deleted payment method.

Example: "53165f2b3a8846bd9fd344342a6093d6"
Response
application/json
{ "payment_method_id": "53165f2b3a8846bd9fd344342a6093d6" }
Operations
Operations
Operations
Operations
Operations
Operations