Transactions
View purchases and renewals made by your customers
View a list of all the transactions you’ve done on your integration. This endpoint describes how to view customer purchases and renewals. You can also query specific transactions using the appropriate reference.
View Purchases
See a list of all the purchases made by your customers.
GET
https://api.mycover.ai/v1/purchase
Query Parameters
Name | Type | Description |
---|---|---|
page | string | Page number of the response (in batches of 10) |
limit | string | Number of purchases to display per batch (default is 10) |
Search Purchase
You can search and find claims using any of the following queries as strings;
GET
https://api.mycover.ai/v1/purchase/search
Query Parameters
Name | Type | Description |
---|---|---|
customer_email | string | View purchases by your customer email address |
customer_id | string | View purchases by your customer ID |
expired_end_date | string | View purchases by the expired end date |
expired_start_date | string | View purchases by the expired start date |
customer_type | string | View purchases by your customer type ('principal', 'beneficiary') |
limit | string | Number of purchases to display per batch (default is 10) |
page | string | Page number of the response (in batches of 10) |
end_date | string | View purchases by the end date |
provider_id | string | View purchases by the product's provider ID |
start_date | string | View purchases by the start date |
Get Purchase Details
Get specific purchase details of a customer using a unique purchase ID
GET
https://api.mycover.ai/v1/purchase/{purchase_id}
Path Parameters
Name | Type | Description |
---|---|---|
purchase_id* | string | Get specific purchase details of your customers using a unique purchase ID |
View Renewals
See a list of all the purchases made by your customers.
GET
https://api.mycover.ai/v1/renewals
Query Parameters
Name | Type | Description |
---|---|---|
page | string | Page number of the response (in batches of 10) |
limit | string | Number of renewals to display per batch (default is 10) |
Search Renewal
You can search and find claims using any of the following queries as strings;
GET
https://api.mycover.ai/v1/renewals/search
Query Parameters
Name | Type | Description |
---|---|---|
status | boolean | Filter renewals by status (true, false) |
start_date | string | View renewals by the start date |
end_date | string | View renewals by the end date |
expired_start_date | string | View renewals by the expired start date |
expired_end_date | string | View renewals by the expired end date |
customer_id | string | View renewals by your customer ID |
provider_id | string | View renewals by the product's provider ID |
product_id | string | View renewals by product ID |
customer_email | string | View renewals by your customer email address |
page | string | Page number of the response (in batches of 10) |
limit | string | Number of renewals to display per batch (default is 10) |
Get Renewal Details
Get specific renewal details of a customer using a unique renewal ID
GET
https://api.mycover.ai/v1/renewals/{renewal_id}
Path Parameters
Name | Type | Description |
---|---|---|
renewal_id* | string | Get renewal details with it's unique ID |
Last updated