Charge
Execute a charge .
Authorizations
Body
Execute a charge for a consumer offer bill.
Bango-generated Request ID (UUID v4). Should be returned in the API response.This allows correalating individual requests and responses.
Date the bill was generated for.
Bill type:
FIRST_BILL: First bill for this consumer offerRENEWAL: Renewal billPRO_RATED_CHARGE: Triggered on product or tier changes
FIRST_BILL, RENEWAL, PRO_RATED_CHARGE "RENEWAL"
Bango-generated unique bill identifier (UUID v4).If the initial charge fails, all subsequent retries will have the same billId.
Charge amount, in minor units
Currency code (ISO 4217)
Type of resource that is being charged.
"CONSUMER_OFFER"Consumer with billing identifier.
- ConsumerWithBillingIdentifier
- ConsumerWithPhoneNumber
Bango-generated unique identifier of the charge transaction (UUID v4). There could be more than one charge per bill.
"c699aa49-35ea-4a23-9c3e-4479413db91d"
Charge attempt. 0 if it's the first attempt, 1 for the first retry...
0
Whether this is a retry of a charge
false
Consumer offer details
Billing details
List of line items
Line item details - offer base price.
- LineItemForOffer
- LineItemForTierChangeProration
- LineItemForEntitlementTierDelta
Partner-generated identifier of the authorization for recurring charges.
Response
OK
- ChargeApprovedResponse
- ChargeDeclinedResponse
Charge approved response.
Bango-generated Request ID (UUID v4). Should be returned in the API response.This allows correalating individual requests and responses.
Result of the operation
"APPROVED"Unique identifier of the charge operation, generated by reseller.

