Skip to main content

Request

string
required
The ID of the customer to get payment methods for
string
required
Use stripe for production or sandbox for testing. The contract also accepts square, but Unprice has no built-in Square adapter.

Response

string
required
The ID of the payment method
string
The name on the payment method
string
The last 4 digits of the payment method
number
The expiration month of the payment method
number
The expiration year of the payment method
string
The brand of the payment method (e.g., visa, mastercard)