Audience:
Developers
Request a merchant profile
Before your merchant can use Swan to accept payments from customers, request a merchant profile with the API.
All new merchant profiles are reviewed by Swan. Swan might contact you for more information before accepting or rejecting the merchant profile.
Prerequisites
- The merchant's account holder type is
Company. - You have a project access token, or, if you're an account member, a user access token with
CanManageAccountMembershipmembership permission.
Guide
- Call the
requestMerchantProfilemutation. - Include all mandatory information:
accountId,merchantName,productType,expectedMonthlyMerchantProcessingVolume, andexpectedAverageBasket. - Add relevant payload and rejection details to your mutation.
- (Optional) Use
merchantLogoto include a logo for your merchant. The image must be converted to abase64encoded string. - The new merchant is created with the status
PendingReview. - Swan reviews the new merchant profile and updates the status.
tip
Provide your customerRegion, paymentFrequency, and at least one socialNetworkUrl or merchantWebsiteUrl to speed up merchant profile enablement.
Mutation
Open in API Explorermutation MerchantProfile {
requestMerchantProfile(
input: {
accountId: "$YOUR_ACCOUNT_ID"
merchantName: "Merchant Company Name"
productType: Goods
expectedMonthlyMerchantProcessingVolume: Between5000And10000
expectedAverageBasket: {
value: "50"
currency: "EUR"
}
}
) {
__typename
... on RequestMerchantProfileSuccessPayload {
merchantProfile {
accountId
id
statusInfo {
status
}
}
}
... on Rejection {
message
}
}
}
Payload
The payload confirms your new merchant profile with the status PendingReview.
{
"data": {
"requestMerchantProfile": {
"__typename": "RequestMerchantProfileSuccessPayload",
"merchantProfile": {
"accountId": "$YOUR_ACCOUNT_ID",
"id": "$YOUR_MERCHANT_PROFILE_ID",
"statusInfo": {
"status": "PendingReview"
}
}
}
}
}