riverty logo

Docs

Path

GET /v1/clients/{clientId}/subscriptions/{subscriptionId}/prepayment

Request Parameters

clientId required
integer
Your assigned `ClientId`.
subscriptionId required
string
Id of the subscription to retrieve.

Responses

Successful Request

Response Example

    
        {
 "id": "subscription-id-1",
 "productId": "subscription-product-id-1",
 "periods": [
  {
   "grossAmount": 180,
   "start": "2024-01-22",
   "end": "2024-01-31",
   "type": "PARTIAL"
  },
  {
   "grossAmount": 620,
   "start": "2024-02-01",
   "end": "2024-02-29",
   "type": "FULL"
  }
 ]
}
    

Request Example

    
        null