Open a global account
POST {{url}}/api/v1/global_accounts/create
Replace {country_code} and {currency} with supported actual country code and currency mentioned in Airwallex API Reference :-
https://www.airwallex.com/docs/api#/CoreResources/GlobalAccounts/apiv1globalaccounts_create/post
Global Accounts can accept payments locally using LOCAL payment methods and internationally using SWIFT. Pass the required payment methods in payment_methods field.
Request Body
{"country_code"=>"{country_code}", "currency"=>"{currency}", "nick_name"=>"My New Global Account", "payment_methods"=>["LOCAL", "SWIFT"], "request_id"=>"{{$guid}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-on-behalf-of | string |