Answers for "Paystack split payment"

0

Paystack split payment

curl https://api.paystack.co/split
2-H "Authorization: Bearer YOUR_SECRET_KEY"
3-H "Content-Type: application/json"
4-d '{ "name":"Percentage Split", 
5      "type":"percentage", 
6      "currency": "NGN",
7      "subaccounts":[{
8        "subaccount": "ACCT_z3x6z3nbo14xsil",
9        "share": 20
10    },
11    {
12        "subaccount": "ACCT_pwwualwty4nhq9d",
13        "share": 30
14    }], 
15      "bearer_type":"subaccount", 
16      "bearer_subaccount":"ACCT_hdl8abxl8drhrl3"
17    }'
18-X POST
Posted by: Guest on February-06-2022

Browse Popular Code Answers by Language