This endpoint is for fetching Pay Methods
The Pay Methods response
curl -i -X GET \ 'https://api.tyro.com/connect/pay/methods?customerId=string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "payMethods": [
- {
- "id": "0f448ac1-862a-4c7b-bdb4-a3b7cdbf6149",
- "customerId": "1d448ac1-862a-4c7b-bdb4-a3b7cdbf6160",
- "card": {
- "brand": "VISA",
- "expiryMonth": 10,
- "expiryYear": 2050,
- "firstSixDigits": "4365",
- "lastFourDigits": "4365"
}
}
]
}