Skip to content

Instantly share code, notes, and snippets.

@ethan-wello
Last active April 9, 2025 09:45
Show Gist options
  • Select an option

  • Save ethan-wello/2655b555a9496650bf5bc60810b3967b to your computer and use it in GitHub Desktop.

Select an option

Save ethan-wello/2655b555a9496650bf5bc60810b3967b to your computer and use it in GitHub Desktop.
  1. v1/v2什么关系? 可不可以不看v1
  2. 很多请求时不时
{
    "code": 500,
    "message": "I/O error on GET request for \"https://test.api.cashplus.com/users/id-1739499136/wallet_accounts\": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out",
    "data": null
}
  1. showUser 找不到就是500吗?
{
    "code": 500,
    "message": "422 Unprocessable Content: [{\"errors\":{\"id\":[\"invalid\"]}}]",
    "data": null
}
  1. createItem
{
    "code": 500,
    "message": "The merchant has not activated the userId.",
    "data": null
}
  1. createPayId
400 Bad Request: [{\"errors\":{\"pay_id\":[\"invalid domain/sub-domain\"]}}\n]",

pending_activation 如何activate

{
    "code": 200,
    "message": "操作成功",
    "data": {
        "id": "9fb1c3d8-7f92-437a-8f80-182b89dd87b7",
        "pay_id": "ethan@mydomain.com",
        "type": "EMAIL",
        "status": "pending_activation",
        "created_at": "2025-04-09 06:40:20",
        "updated_at": null,
        "details": {
            "pay_id_name": "ethanx",
            "owner_legal_name": "123"
        },
        "error": null
    }
}
  1. makePayment
{
    "code": 500,
    "message": "422 Unprocessable Content: [{\"errors\":{\"account_id\":[\"invalid\"]}}]",
    "data": null
}

account_id是什么ID? PayID对应的id? 如何用客户自己的已有PayID

  1. createBankAccount
{
    "code": 500,
    "message": "Only bank accounts with the same name can be associated.",
    "data": null
}

account_name与用户的full_name是完全一致的

  1. 支付结果的callback是在哪里设置
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment