Examples

GET /api/v2/premium-service-transactions/4
200
{
  "data": {
    "id": "4",
    "type": "premium-service-transactions",
    "links": {
      "self": "http://test.host/api/v2/premium-service-transactions/4"
    },
    "attributes": {
      "transaction-type": "credit",
      "smarts": "60.0",
      "amount": "7500.0",
      "created-at": "2018-01-24T09:59:48.312+08:00",
      "updated-at": "2018-01-24T09:59:48.312+08:00"
    },
    "relationships": {
      "company": {
        "links": {
          "self": "http://test.host/api/v2/premium-service-transactions/4/relationships/company",
          "related": "http://test.host/api/v2/premium-service-transactions/4/company"
        }
      },
      "premium-service-request": {
        "links": {
          "self": "http://test.host/api/v2/premium-service-transactions/4/relationships/premium-service-request",
          "related": "http://test.host/api/v2/premium-service-transactions/4/premium-service-request"
        }
      }
    }
  }
}

Params

Param name Description
id
required

Premium Service Transaction ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.