Pay API
Pay API (0.9)
Overview
Languages
Servers
Production
https://api.tyro.com/connect
- Productionhttps://api.tyro.com/connect/pay/methods
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.tyro.com/connect/pay/methods?customerId=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "payMethods": [ { … } ] }
- Productionhttps://api.tyro.com/connect/pay/methods/{payMethodId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.tyro.com/connect/pay/methods/{payMethodId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The Pay Method response
The id of the Pay Method in the Tyro Connect system. This id can be specified in the Pay Request when making payments for the associated customer.
Example: "0f448ac1-862a-4c7b-bdb4-a3b7cdbf6149"
The id of the Customer in the Tyro Connect system linked to this Pay Method.
Example: "1d448ac1-862a-4c7b-bdb4-a3b7cdbf6160"
Response
application/json
{ "id": "0f448ac1-862a-4c7b-bdb4-a3b7cdbf6149", "customerId": "1d448ac1-862a-4c7b-bdb4-a3b7cdbf6160", "card": { "brand": "VISA", "expiryMonth": 10, "expiryYear": 2050, "firstSixDigits": "4365", "lastFourDigits": "4365" } }
- Productionhttps://api.tyro.com/connect/pay/methods/{payMethodId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.tyro.com/connect/pay/methods/{payMethodId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'