Get Order Template
Returns a list of all order templates for a particular user
customerId is the unique identifier of the customer
Sample API Request: GET
URL: https://caas-staging.coinme.com/services/order-template/templates/{customerId}
headers:
"Authorization":"asdfghj", //authorization token, required
'User-Agent: partnerapi' //required
Sample API Response
{
"data": {
"transactionTemplate": [
{
"orderTemplateId": "1187389229447122944",
"accountId": "1187008833961594880",
"partnerId": "829720882820681728",
"transactionSystemRef": "1187389229447122944", // ID of the order template in Coinme's system
"transactionProviderRef": "830324007540008113329399514064", // ID of the order template in the payment provider's system
"sealed": false, // Indicates whether the order template can be edited or not
"debitCurrencyCode": "USD", // Currency Code of the amount that is debited to the customer
"creditCurrencyCode": "BTC", // Currency Code of the amount that is credited to the customer
"creditCurrencyAmount": "0.00018627", // Amount that is credited to the customer
"amountValue": "11", // Value of the user input amount
"amountCurrencyCode": "USD", // Currency code of the user input amount
"feesMap": { // Map that contains breakdown of the fees
"instantWithdrawalFee": "2.50",
"exchangeFee": "0.16"
},
"locationData": { // Location metadata associated with the physical location where the order template is to be consumed
"country": "USA",
"state": "CA",
"city": "Sacramento",
"zipCode": "95822",
"address1": "1350 Florin Rd",
"description": "CVS",
"coordinates": {
"latitude": 38.495133,
"longitude": -121.505336
}
},
"active": false, // Indicates whether the order template can be consumed
"status": "COMPLETED", // Status of the order template
"timestamp": "2025-01-02T14:21:20.965Z" // Timestamp for when the order template was last updated
},
{
"orderTemplateId": "1188417339844071424",
"accountId": "1187008833961594880",
"partnerId": "829720882820681728",
"transactionSystemRef": "1188417339844071424",
"transactionProviderRef": "830324007540008113329400042165",
"sealed": false,
"debitCurrencyCode": "USD",
"creditCurrencyCode": "BTC",
"creditCurrencyAmount": "0.00018627",
"amountValue": "11",
"amountCurrencyCode": "USD",
"feesMap": {
"instantWithdrawalFee": "2.50",
"exchangeFee": "0.16"
},
"locationData": {
"country": "USA",
"state": "CA",
"city": "Sacramento",
"zipCode": "95822",
"address1": "1350 Florin Rd",
"description": "CVS",
"coordinates": {
"latitude": 38.495133,
"longitude": -121.505336
}
},
"active": false,
"status": "EXPIRED",
"timestamp": "2025-03-06T11:49:28.108Z"
}
]
},
"errorResponse": null
}Updated 6 days ago