For more information about this gateway, please refer to https://www.billapay.com/

To add a BillaPay gateway:

{
    "account_id": "account_id_value(required, string)",
    "account_password": "account_password_value(required, string)",
    "merchant_code": "merchant_code_value(optional, string)"
}

Gateway Specific Fields

NOTE: The use_rebill_endpoint when set to true, will turn the transaction into a transaction with third party token. The user must pass MerchantAccountReferenceId and the ThirdPartyToken (as SubscriberID) for the transaction to work. This will call BillaPay's rebill endpoint.

"gatewaySpecificFields":{
   "billapay": {
       "product_code": "123123-123-123", (required, string)
       "merchant_code": "merchant_code_value", (optional, string)
       "user1": "some_value1", (optional, string)
       "user2": "some_value2", (optional, string)
       "allow_duplicate_signup": "1", (optional, string)
       "use_rebill_endpoint": true/false (optional, boolean)
    }
}

Gateway Specific Response Fields

"gatewaySpecificResponseFields": {
   "billapay": {
       "subscriber_id": "2352123471"
    }
}