On This Page
Retrieving a Plan Code
When you specify your own plan codes, you can request the next consecutive
alphabetical or numeric plan code based on the last plan code that you specified. For
example, if the last plan code that you specified was
Plan104
, the
system returns the code Plan105
. Follow these steps to retrieve a
plan code:
- Send the request to the Recurring Billing endpoint:
- Production:GEThttps://nabgateway-api.nab.com.au/rbs/v1/plans/code
- Test:GEThttps://nabgateway-api-test.nab.com.au/rbs/v1/plans/code
REST Example: Retrieving a Plan Code
Response to a Successful Request
{ "code": "1619310019", }
Error Response
{ "status": "NOT_FOUND", "reason": "INVALID_DATA" }