Retrieve a Pay Method
The Pay Method response
When the provided payMethodId
does not match a Pay Method stored in the system.
curl -i -X GET \ 'https://api.tyro.com/connect/pay/methods/{payMethodId}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "id": "0f448ac1-862a-4c7b-bdb4-a3b7cdbf6149",
- "customerId": "1d448ac1-862a-4c7b-bdb4-a3b7cdbf6160",
- "card": {
- "brand": "VISA",
- "expiryMonth": 10,
- "expiryYear": 2050,
- "firstSixDigits": "4365",
- "lastFourDigits": "4365"
}
}