Skip to content

Instantly share code, notes, and snippets.

@fishmandev
Last active June 1, 2022 05:52
Show Gist options
  • Save fishmandev/e5aa63acaa231c06e6c6192cca0420e5 to your computer and use it in GitHub Desktop.
Save fishmandev/e5aa63acaa231c06e6c6192cca0420e5 to your computer and use it in GitHub Desktop.
{
"code": "200",
"status": "OK",
"message": "Success",
"default_payment_method_id": 1, // This field can be nullable!
"data": [
{
"id": 1,
"payment_method_id": "pm_12345FX345",
"type": "card",
"name": "Card Holder Name",
"address_city": "Kharkiv",
"address_country": "UA",
"address_line1": "Shevchenko 45 str.",
"address_line2": "Ap 45",
"address_state": "KH",
"address_zip": "123456",
"card": {
"brand": "Visa",
"country": "US",
"exp_month": 1,
"exp_year": 1,
"fingerprint": "XXXXXXXX",
"last4": "1111"
}
}
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment