#leo_api

1 messages ยท Page 1 of 1 (latest)

sullen pastureBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1488556452414099497

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

pseudo hull
#

hi there, I think your question got cut off, can you complete this sentence?

"How can i make it so the company verification document used when creating an account using the business_type company"

hot epoch
#

Hi ๐Ÿ‘‹
I can detail more but this is about it.
I'm currently creating some accounts using the API.
Here's the request POST body I'm sending

{
  "business_profile": {
    "annual_revenue": {
      "amount": "500000",
      "currency": "EUR",
      "fiscal_year_end": "2025-12-31"
    },
    "estimated_worker_count": "7274",
    "mcc": "5598",
    "name": "be3",
    "product_description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
    "support_phone": "0000000000"
  },
  "business_type": "company",
  "capabilities": {
    "card_issuing": {
      "requested": "True"
    },
    "transfers": {
      "requested": "True"
    }
  },
  "company": {
    "address": {
      "city": "City",
      "country": "BE",
      "line1": "address_full_match",
      "postal_code": "2600",
      "state": "State"
    },
    "name": "be3",
    "phone": "0000000000",
    "tax_id": "*********",
    "verification": {
      "document": {
        "front": "file_relationship_document_success" // or file_identity_document_success
      }
    }
  },
  "controller": {
    "fees": {
      "payer": "application"
    },
    "losses": {
      "payments": "application"
    },
    "requirement_collection": "application",
    "stripe_dashboard": {
      "type": "none"
    }
  },
  "country": "BE",
  "email": "demo@example.com",
  "external_account": "btok_be",
  "settings": {
    "card_issuing": {
      "tos_acceptance": {
        "date": "1774968904",
        "ip": "127.0.0.1"
      }
    },
    "payouts": {
      "debit_negative_balances": "True"
    }
  },
  "tos_acceptance": {
    "date": "1774968904",
    "ip": "127.0.0.1"
  }
}

However, the json response always contains

{
  "...",
  "requirements": [
    "company.verification.document",
  ],
}

So the accounts created always end up in Restricted mode.

pseudo hull
#

gtcha, so the problem is that pending_verification is stuck with "company.verification.document"?

#

how long has it been like that?

hot epoch
#

Yes, and when trying the onboarding through the UI works without any issue.
This is an issue since this morning as we had test accounts onboard yesterday without any issue.

pseudo hull
hot epoch
#

Like specified in the payload above,
I am using 222222222 for tax_id
and 0000000000 for the phone numbers as this seems to be the only successful option in the doc i used (which is also the one you linked to)

pseudo hull
#

got it, thanks, the tax_id field was replaced with * so I just wanted to confirm. still looking into it

#

for company.name, can you try using "match_name_relationships" instead of "be3"?

hot epoch
#

Sure, Here's the request ID req_Rhp7bCKOO83UiC

{
  "business_profile": {
    "annual_revenue": {
      "amount": "500000",
      "currency": "EUR",
      "fiscal_year_end": "2025-12-31"
    },
    "estimated_worker_count": "7274",
    "mcc": "5598",
    "name": "match_name_relationships",
    "product_description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
    "support_phone": "0000000000"
  },
  "business_type": "company",
  "capabilities": {
    "card_issuing": {
      "requested": "True"
    },
    "transfers": {
      "requested": "True"
    }
  },
  "company": {
    "address": {
      "city": "City",
      "country": "BE",
      "line1": "address_full_match",
      "postal_code": "2600",
      "state": "State"
    },
    "name": "match_name_relationships",
    "phone": "0000000000",
    "tax_id": "*********",
    "verification": {
      "document": {
        "front": "file_identity_document_success"
      }
    }
  },
  "controller": {
    "fees": {
      "payer": "application"
    },
    "losses": {
      "payments": "application"
    },
    "requirement_collection": "application",
    "stripe_dashboard": {
      "type": "none"
    }
  },
  "country": "BE",
  "email": "demo@example.com",
  "external_account": "btok_be",
  "settings": {
    "card_issuing": {
      "tos_acceptance": {
        "date": "1774971755",
        "ip": "127.0.0.1"
      }
    },
    "payouts": {
      "debit_negative_balances": "True"
    }
  },
  "tos_acceptance": {
    "date": "1774971755",
    "ip": "127.0.0.1"
  }
}

The created account is acct_1TH4R5GE8MjFzlyI and I have the following json (uploaded as a file)

The new account is still restricted without the issuing capability

#

I'll be off for today, I'll try to check it in 3-4h just in case but otherwise I'll be back tomorrow.
Thanks for helping me.