On This Page 
    Retrieving the Next Subscription Code
    When you specify your subscription code, you can request the next consecutive
            alphabetical or numeric subscription code based on the last subscription code you
            specified. For example, if the last subscription code that you specified was
                
24B
, the system returns the code 24C
. Follow
                these steps to retrieve the next subscription code:
- Send the request to the recurring billing endpoint:Test:GET https://nabgateway-developer.nab.com.au/rbs/v1/subscriptions/codeProduction:GET https://nabgateway-developer.nab.com.au/rbs/v1/subscriptions/code
 - Check the response message to make sure the request was successful. A 200-level HTTP response code indicates success. For information about response codes, seeTransaction response codes.
 
REST Examples: Retrieving the Next Subscription Code
    Response to a Successful Request
{ "code": "AWC-50", }
Error Response
{ "status": "NOT_FOUND", "reason": "INVALID_DATA" }