CSQ Docs
    CSQ Docs
    eVSB
    • eVSB
    • Postpaid
    • Billpayment
    • Payment
      POST
    • Get Invoices
      POST
    • Get Parameters
      GET

      Payment

      POST
      /post-paid/bill-payment/payment/{terminalId}/{operatorId}/{localReference}
      postpaid-bill-payment-controller

      Request

      Path Params
      terminalId
      integer <int32>
      required
      operatorId
      integer <int32>
      required
      localReference
      integer <int32>
      required
      Header Params
      U
      string 
      required
      Default:
      {{U}}
      SH
      string 
      required
      Default:
      {{SH}}
      ST
      string 
      required
      Default:
      {{ST}}
      Body Params application/json
      amountToSendX100
      integer <int32>
      optional
      destinationAmountX100
      integer <int32>
      optional
      localDateTime
      string <date-time>
      optional
      beneficiaryPhoneNumber
      string 
      optional
      additionalData
      array[object (AdditionalDataDto) {2}] 
      optional
      key
      string 
      optional
      value
      string 
      optional
      invoiceNumbers
      array[string]
      optional
      Only for DISCRETE payment type
      Example
      {
          "amountToSendX100": 0,
          "destinationAmountX100": 0,
          "localDateTime": "2019-08-24T14:15:22Z",
          "beneficiaryPhoneNumber": "string",
          "additionalData": [
              {
                  "key": "string",
                  "value": "string"
              }
          ],
          "invoiceNumbers": [
              "string"
          ]
      }

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'http://evsbus.csqworld.com/post-paid/bill-payment/payment///' \
      --header 'U;' \
      --header 'SH;' \
      --header 'ST;' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "amountToSendX100": 0,
          "destinationAmountX100": 0,
          "localDateTime": "2019-08-24T14:15:22Z",
          "beneficiaryPhoneNumber": "string",
          "additionalData": [
              {
                  "key": "string",
                  "value": "string"
              }
          ],
          "invoiceNumbers": [
              "string"
          ]
      }'

      Responses

      🟢200OK
      application/json
      OK
      Body
      rc
      integer <int32>
      optional
      items
      array [object {6}] 
      optional
      finalstatus
      integer <int32>
      optional
      resultcode
      string 
      optional
      resultmessage
      string 
      optional
      supplierreference
      string  | null 
      optional
      destinationcurrency
      string  | null 
      optional
      destinationamount
      number  | null 
      optional
      Example
      {
          "rc": 0,
          "items": [
              {
                  "finalstatus": 0,
                  "resultcode": "string",
                  "resultmessage": "string",
                  "supplierreference": "string",
                  "destinationcurrency": "string",
                  "destinationamount": 0
              }
          ]
      }
      Modified at 2024-12-12 11:24:58
      Next
      Get Invoices
      Built with