Redeem ad credits

POST {{baseUrl}}/ad_accounts/:ad_account_id/ads_credit/redeem

Redeem ads credit on behalf of the ad account id and apply it towards billing.

This endpoint might not be available to all apps. Learn more.

Request Body

{"offerCodeHash"=>"", "validateOnly"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;errorCode&quot;:&quot;\u003cinteger\u003e&quot;,&quot;errorMessage&quot;:&quot;\u003cstring\u003e&quot;}