https://graph.facebook.com/v21.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.intern.facebook.com/LATEST-VERSION/EXTENDED-CREDIT-ID/owning_credit_allocation_configs?
access_token={USER-ACCESS-TOKEN}"
Response
{ "data": [ ] }
参数 | 描述 |
---|---|
receiving_business_id numeric string or integer | ID of the receiving business of the credit allocation config |
从这条连线读取将返回一个 JSON 格式的结果:
{ "
data
": [], "paging
": {} }
data
paging
错误 | 描述 |
---|---|
100 | Invalid parameter |
owning_credit_allocation_configs
连线发出 POST 请求:参数 | 描述 |
---|---|
amount Positive float | The amount of this allocation. You should only set it if the credit allocation type is FIXED |
liability_type enum {, 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_type enum {FIXED, AUTH, FIXED_WITHOUT_PARTITION} | Fixed partition or unrestricted credit partition |
receiving_business_id numeric string or integer | The business that you are going to allocate credit to 必填 |
send_bill_to enum {, 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
代表的节点。id
: numeric string, requires_additional_approval
: enum, 错误 | 描述 |
---|---|
4000 | A credit allocation already exists between your business and the designated business. |
100 | Invalid parameter |
200 | Permissions error |