Represents a credit line's credit allocation configurations. A new credit allocation configuration is created when you share and attach your credit line to a client's WhatsApp Business Account (WABA).
https://graph.facebook.com/v25.0/{business_id}/extendedcredits?fields=id,legal_entity_name.
Requirements
whatsapp_business_management permission
business_management permission
whatsapp_business_messaging permission
public_profile permission
EXTENDED CREDIT ID
USER ACCESS TOKEN
Request
curl -i -X GET \
"https://graph.facebook.com/LATEST-VERSION/EXTENDED-CREDIT-ID/owning_credit_allocation_configs?
access_token={USER-ACCESS-TOKEN}"Response
{
"data": [
]
}| Parameter | Description |
|---|---|
receiving_business_idnumeric string or integer | ID of the receiving business of the credit allocation config |
Reading from this edge will return a JSON formatted result:
{ "
data": [] }
data| Error | Description |
|---|---|
| 100 | Invalid parameter |
| 104 | Incorrect signature |
owning_credit_allocation_configs edge from the following paths: | Parameter | Description |
|---|---|
amountPositive float | The amount of this allocation. You should only set it if the credit allocation type is FIXED |
liability_typeenum {, Normal, Sequential, MSA} | The terms that will be applicable to ad account under the receiving party using this credit line. Sequential: https://www.facebook.com/legal/sequential_invoicing_terms, Normal: https://www.facebook.com/terms_ads_invoicing.php |
partition_typeenum {FIXED, AUTH, FIXED_WITHOUT_PARTITION} | Fixed partition or unrestricted credit partition |
receiving_business_idnumeric string or integer | The business that you are going to allocate credit to Required |
send_bill_toenum {, Agency, Advertiser} | Whether invoices will by default go to the credit line owner or the receiving party. AGENCY will send to the receiving party, ADVERTISER to the owner |
id in the return type.id: numeric string, requires_additional_approval: enum, | Error | Description |
|---|---|
| 4000 | A credit allocation already exists between your business and the designated business. |
| 200 | Permissions error |
| 100 | Invalid parameter |