Operations

Adjust an advertising account's non-purchased funds

Adjust an advertising account's non-purchased funds. The response is scoped and validated by the runtime repository; unknown or unauthorized resources use the canonical error envelope.

post/v1/admin/ads/accounts/{account_id}/adjust

Request

  • Base URL: https://loppee.com
  • URL: https://loppee.com/v1/admin/ads/accounts/{account_id}/adjust
  • Auth: one of:
    • HTTP bearer
    • API key in header X-LOPPEE-API-Key

Path parameters

account_idstring required

account id path identifier.

Request body

amount_centsnumber required

Whole cents, non-zero, at most 1,000,000 either way; a promotional credit is positive.

kind'promo_credit' | 'admin_adjustment' required
reasonstring required
expires_atstring

Promotional credit only: ISO date-time 1 hour to 2 years ahead, disclosed to the owner.

idempotency_keystring

Response

Adjust an advertising account's non-purchased funds response

object required

Audited promotional credit or adjustment of non-purchased (not card-refundable) funds. Purchased funds are never created or removed here. Requires manage_billing.

Changes

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