Transaction types

Access to billing transaction type endpoints


Parameters

Name In Type Required Description
org_id path string true organization name

Request example

1
2
3
4
5

curl -X GET https://catalogue.masstack.com/v2/orgs/masmovil/transaction_types \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK List of transaction_types [TransactionType]
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

200 - instance of TransactionType

Custom schema example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
[
  {
    "id": "121",
    "name": "DEVOLUCION AT. AL CLIENTE",
    "description": "DEVOLUCIÓN AT. AL CLIENTE PRE",
    "is_active": true,
    "is_external": false,
    "tax_rate": "generic",
    "transaction_type": "Credit",
    "refund_transaction_type_id": "121"
  }
]
Name Type Required Description
id string false none
name string false none
description string false none
is_active boolean false none
is_external boolean false indicates if the fee/term/promotion value is own (MM) or external (third-party)
tax_rate string false indicates the tax applied to the fee/term/promotion value
transaction_type string false none
refund_transaction_type_id string false id of the transaction type used for refund transactions

401 - JsonObject

Custom schema example

1
"Origin authentication failed."
Name Type Required Description
id string false none
name string false none
description string false none
is_active boolean false none
is_external boolean false indicates if the fee/term/promotion value is own (MM) or external (third-party)
tax_rate string false indicates the tax applied to the fee/term/promotion value
transaction_type string false none
refund_transaction_type_id string false id of the transaction type used for refund transactions

404 - instance of KOGenericResponse

Custom schema example

1
2
3
4
5
{
  "error": "Item not found",
  "message": "Item not found",
  "code": "0200XX"
}
Name Type Required Description
error string false none
message string false none
code string false none

Parameters

Name In Type Required Description
org_id path string true organization name
transaction_type_id path string true transaction type identifier

Request example

1
2
3
4
5

curl -X GET https://catalogue.masstack.com/v2/orgs/masmovil/transaction_types/232 \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK Transaction Type TransactionType
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

Endpoints

Commercial Products

    Bundled Products

      Bundled Commercial Products

        Free Units Packages

          Promotions

            Commercial Devices

              Rate Plans

                Base profiles and services

                  Value Added Services

                    Services

                      Commercial Infos

                        Transaction types

                          Devices

                            Commercial profiles

                              Misc services