User Tools

Site Tools


api:mvno:account:topup

API : MVNO Account Top up

Introduction

This request will top up data on an existing MVNO account. The MVNO data is only bought for the current month.

The product

Request

URL https://api.telecomx.dk/mvno/ACCOUNT_ID/topup/PRODUCT_ID
Method POST
Access level OWNER when MVNO account belongs to the customer.
RESELLER if customer belongs to the reseller.
ADMIN.
Param ACCOUNT_ID Id of the MVNO account (24 hex-char string)
PRODUCT_ID Id of the MVNO_DATA_TOP_UP product (24 hex-char string). The product ID should be a reseller product, belonging the reseller of the MVNO account's customer.

Query example

https://api.telecomx.dk/mvno/1234567890ABCDEF12345678/topup/6414567890ABCDEF12345678

Response

Json object
success Boolean True if data is successfully bought and added to the mobile account.

Example

{
  success: true
}

Errors

Error code Message Description
404 id MVNO account not found
404 product Product not found
403 updating MVNO account cannot be changed as it is currently being updated
409 number The number state is invalid, should be IN_USE or PORTING_OUT
500 internal_error <Unspecified>
api/mvno/account/topup.txt · Last modified: 2023/06/05 12:00 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki