A webhook event sent when your OWNED
sub-account has been successfully created
{
"accountCreated": {
"value": {
"event": "account.created",
"created": "2021-01-01T10:00:00Z",
"data": {
"id": "5cafeb170a2b18519b1b8761",
"created": "2021-01-01T10:00:00Z",
"updated": "2021-01-01T10:00:00Z",
"type": "OWNED",
"email": "test@xendit.co",
"public_profile": {
"business_name": "My Store"
},
"country": "ID",
"status": "LIVE"
}
}
}
}
Your OWNED
sub-account has been successfully created
ID of your Account, use this in the for-user-id header to create transactions on behalf of your Account
Timestamp of when the webhook was sent
Timestamp of when the webhook was updated
ID of your Account, use this in the for-user-id header to create transactions on behalf of your Account
Timestamp of when the object was created
Timestamp of when the object was updated
The type of account created
A valid email address associated with the object
Public name of the account.
Additional description visible publicly.
The country (based on ISO 3166-1 Alpha-2) of incorporation for a business, or the country of residence for an individual.
Status of the Account you are creating.
Contains the configurations for CUSTOM sub-accounts. Parameters available: payment_settings_follow_platform, has_withdrawal, has_dashboard
Indicates if payment settings follow the platform.
Indicates if the account has withdrawal enabled.
Indicates if the account has access to the dashboard.
OK