Factor Managed Accounts
A factor is a third-party partner who purchases Airwallex user’s accounts receivable (invoices) at a discount. The factor provides immediate cash to the Airwallex user’s business, then collects payment on the invoices directly from the customers.
A factor managed account, owned by the factor, refers to the legally binding agreement between the Airwallex user and the factor that outlines the terms and conditions under which the Airwallex user sells accounts receivable to the factor and the factor collects payments. For more information, see [Invoice Factoring].
POST /partner-api/v1/factoring/factor_managed_accounts/createPOST /partner-api/v1/factoring/factor_managed_accounts/{factorManagedAccountId}/activatePOST /partner-api/v1/factoring/factor_managed_accounts/{factorManagedAccountId}/closeGET /partner-api/v1/factoring/factor_managed_accounts/{factorManagedAccountId}
Create a factor managed account
POST /partner-api/v1/factoring/factor_managed_accounts/create
Create a factor managed account object to connect the factor and the user.
The account id of the user.
The metadata of the factor managed account in factor service.
A unique request identifier specified by you for idempotency. Up to 50 characters.
The Airwallex account unique identifier of the user.
The URL of the Airwallex web page where the customer consent is collected.
The time when this factor managed account was created.
The unique identifier of the factor managed account.
The status of the factor managed account. One of the following:
INACTIVE: The factor managed account is initialized and requires the user to accept the factor managed account.ACCEPTED: The factor managed account is accepted and requires the factor to activate the factor managed account.ACTIVE: The factor managed account is activated and the factor can create payment on the factor managed account.CLOSED: The factor managed account is closed. No further payment could be made on this factor managed account.
The time when this factor managed account was last updated.
$curl --request POST \> --url 'https://api-demo.airwallex.com/partner-api/v1/factoring/factor_managed_accounts/create' \> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \> --header 'Content-Type: application/json' \> --data '{> "account_id": "acct_ca6530db68a9",> "metadata": {> "reference_number": "1129289"> },> "request_id": "e26fe780-ac29-4130-b650-edb1cc1bd4a4">}'
1{2 "account_id": "acct_246530db2424",3 "consent_url": "https://www.airwallex.com/app/login-auth?application=oauth-factoring&client_id=appid_CGvntybHx8RyNSE7vf2h&factoring_id=e1f3c6e3-ba66-4400-83ec-e81553647806&redirect_uri=",4 "created_at": "<date-time>",5 "id": "3290f2ef-6c55-4bed-90a6-2161748f0335",6 "status": "ACTIVE",7 "updated_at": "<date-time>"8}
Activate a factor managed account
POST /partner-api/v1/factoring/factor_managed_accounts/{factorManagedAccountId}/activate
Activates a factor-managed account. On success, the account’s status will be returned as ACTIVE.
The unique identifier of the factor managed account object.
The Airwallex account unique identifier of the user.
The URL of the Airwallex web page where the customer consent is collected.
The time when this factor managed account was created.
The unique identifier of the factor managed account.
The status of the factor managed account. One of the following:
INACTIVE: The factor managed account is initialized and requires the user to accept the factor managed account.ACCEPTED: The factor managed account is accepted and requires the factor to activate the factor managed account.ACTIVE: The factor managed account is activated and the factor can create payment on the factor managed account.CLOSED: The factor managed account is closed. No further payment could be made on this factor managed account.
The time when this factor managed account was last updated.
$curl --request POST \> --url 'https://api-demo.airwallex.com/partner-api/v1/factoring/factor_managed_accounts/factorManagedAccountId/activate' \> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \> --header 'Content-Type: application/json'
1{2 "account_id": "acct_246530db2424",3 "consent_url": "https://www.airwallex.com/app/login-auth?application=oauth-factoring&client_id=appid_CGvntybHx8RyNSE7vf2h&factoring_id=e1f3c6e3-ba66-4400-83ec-e81553647806&redirect_uri=",4 "created_at": "<date-time>",5 "id": "3290f2ef-6c55-4bed-90a6-2161748f0335",6 "status": "ACTIVE",7 "updated_at": "<date-time>"8}
Close a factor managed account
POST /partner-api/v1/factoring/factor_managed_accounts/{factorManagedAccountId}/close
Closes a factor-managed account. On success, the account’s status will be returned as CLOSED.
The unique identifier of the factor managed account object.
The Airwallex account unique identifier of the user.
The URL of the Airwallex web page where the customer consent is collected.
The time when this factor managed account was created.
The unique identifier of the factor managed account.
The status of the factor managed account. One of the following:
INACTIVE: The factor managed account is initialized and requires the user to accept the factor managed account.ACCEPTED: The factor managed account is accepted and requires the factor to activate the factor managed account.ACTIVE: The factor managed account is activated and the factor can create payment on the factor managed account.CLOSED: The factor managed account is closed. No further payment could be made on this factor managed account.
The time when this factor managed account was last updated.
$curl --request POST \> --url 'https://api-demo.airwallex.com/partner-api/v1/factoring/factor_managed_accounts/factorManagedAccountId/close' \> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \> --header 'Content-Type: application/json'
1{2 "account_id": "acct_246530db2424",3 "consent_url": "https://www.airwallex.com/app/login-auth?application=oauth-factoring&client_id=appid_CGvntybHx8RyNSE7vf2h&factoring_id=e1f3c6e3-ba66-4400-83ec-e81553647806&redirect_uri=",4 "created_at": "<date-time>",5 "id": "3290f2ef-6c55-4bed-90a6-2161748f0335",6 "status": "ACTIVE",7 "updated_at": "<date-time>"8}
Get factor managed account by ID
GET /partner-api/v1/factoring/factor_managed_accounts/{factorManagedAccountId}
Retrieve details of a factor managed account using its unique identifier.
The factor managed account unique identifier.
The Airwallex account unique identifier of the user.
The URL of the Airwallex web page where the customer consent is collected.
The time when this factor managed account was created.
The unique identifier of the factor managed account.
The status of the factor managed account. One of the following:
INACTIVE: The factor managed account is initialized and requires the user to accept the factor managed account.ACCEPTED: The factor managed account is accepted and requires the factor to activate the factor managed account.ACTIVE: The factor managed account is activated and the factor can create payment on the factor managed account.CLOSED: The factor managed account is closed. No further payment could be made on this factor managed account.
The time when this factor managed account was last updated.
$curl --request GET \> --url 'https://api-demo.airwallex.com/partner-api/v1/factoring/factor_managed_accounts/factorManagedAccountId' \> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \> --header 'Content-Type: application/json'
1{2 "account_id": "acct_246530db2424",3 "consent_url": "https://www.airwallex.com/app/login-auth?application=oauth-factoring&client_id=appid_CGvntybHx8RyNSE7vf2h&factoring_id=e1f3c6e3-ba66-4400-83ec-e81553647806&redirect_uri=",4 "created_at": "<date-time>",5 "id": "3290f2ef-6c55-4bed-90a6-2161748f0335",6 "status": "ACTIVE",7 "updated_at": "<date-time>"8}