For developers / Api documentation / Methods /

Check subscription

Back

Endpoint

GET https://api.repricer.online/v1/finances/subscription?uid={uid}

Headers

Name Type Description
Authorization string Authorization token.
Content-Type string application/json

Params

Name Type Description
uid string Charge bee unique id

Request example

GET https://api.repricer.online/v1/finances/subscription?uid=74G6912758912481A HTTP/1.1
Authorization: Bearer PUT YOUR TOKEN HERE
Content-Type: application/json

Return: AccountSubscription

Response example

HTTP/1.1 200 OK
Content-Type: application/json
{
  "status": 200,
  "data": [
    {
      "id": 3,
      "name": "Amazon Australia",
      "currency_code": "826",
      "currency": {
         "code": "826",
         "name": "GBR",
      },
    }
  ]
}