Account

Get durable top-up status

Returns verified durable state for one top-up request. action_url is a Stripe hosted invoice only when customer action is required. Requires 'account-read' scope. First-party 'account' scope also suffices.

get/v1/account/topups/{requestId}

Request

  • Base URL: https://api.infiniteaudience.ai
  • URL: https://api.infiniteaudience.ai/v1/account/topups/{requestId}
  • Auth: HTTP bearer

Path parameters

requestIdstring required

Response

Top-up status

payment_attempt_idstring required
kind'topup' required
request_idstring required
status'pending' | 'action_required' | 'paid' | 'failed' required
amount_centsinteger required
bonus_centsinteger required
principal_credit_status'awaiting_payment' | 'updating' | 'available' | 'needs_attention' | 'not_applicable' required
bonus_credit_status'awaiting_payment' | 'updating' | 'available' | 'needs_attention' | 'not_applicable' required
action_urlstring uri nullable required
paid_atstring date-time nullable required
updated_atstring date-time required
last_error_codestring nullable required
credit_error_codestring nullable required

Changes

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