Payment

Initiate payment

Creates a payment for a specified amount, adding credit to the balance of your organization. Include the amount in the body of the request to make a payment for the specified value in dollars. View a history of past payments by calling the Retrieve Payment History API.

post/billing/payment/payment-initiate

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/billing/payment/payment-initiate
  • Auth: API key in header api_key

Request body

amountnumber

The amount to pay, in dollars.

Example request

{
  "amount": 5
}

Response

Success

messagestring

Human-readable description of the result.

statusboolean

Whether the request succeeded.

Changes

No recorded changes to this operation across all 1 revision of this API.