The format of a payment gateway extension is described in the Create a Credit Card Payment Gateway Integration chapter. For an invoice gateway, the gateway.json file should be similar to the following:

{
  "provider": "Invoice Payment Provider",
  "paymentMethodTypes": ["invoice"],
  "transactionTypes": {
    "invoice": ["authorization"]
  }
}

Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices