Trustcrow API v1
  • Introduction
  • Authentication
  • Errors
  • API Reference
    • User Management
      • Create a user
      • Fetch users
      • Fetch user's wallet
    • Transaction
      • Create a transaction
      • Fetch transactions
      • Fetch milestones
      • Fund milestone
      • Deliver item
      • Accept item delivery
      • Reject item delivery
      • Approve returned item
      • Disapprove returned item
    • Dispute Management
      • Create a dispute
      • Fetch dispute
      • Add dispute amount
      • Approve dispute amount
      • Disapprove dispute amount
    • Disbursement
    • Other tools
      • Bank verification
      • File Upload
Powered by GitBook
On this page
  • Save bank account
  • Fetch customer bank details
  • Account Name Enquiry

Was this helpful?

  1. API Reference
  2. Other tools

Bank verification

Save bank account

POST {{api_url}}/v1/wallets/banks/disbursement

Headers

Name
Type
Description

Accepts

string

application/json

Authorization

string

your Trustcrow API keys with which you authorize customers.

Request Body

Name
Type
Description

account_number*

string

account number of the customer

bank_code*

string

the bank code of the account number provided

user_id*

string

the customer id of the account to be saved

{
    "status": true,
    "message": "Disbursement account created successfully",
    "data": {
        "wallet_id": "b78ec8db-4bab-43c3-84a1-a9d55d036d54",
        "account_number": "0139923749",
        "account_name": "FOLAGBADE HALEEMOH OPEYEMI",
        "bank_code": "058",
        "paystack_transfer_recipient": null,
        "id": "0878a1d3-a3f3-476b-a408-493117f71dfa",
        "created_at": "2023-12-26T13:54:13.160Z",
        "updated_at": "2023-12-26T13:54:13.160Z"
    }
}

Fetch customer bank details

You can list your customers bank using the endpoint below:

curl --location 'http://trustcrow-api-sandbox.us-east-1.elasticbeanstalk.com/v1/wallets/banks/list' \
--header 'Authorization: {{secret_key}}'

Account Name Enquiry

You can do an account lookup based on the account number and bank code provided using the endpoint below:

curl --location 'http://trustcrow-api-sandbox.us-east-1.elasticbeanstalk.com/v1/wallets/banks/validate' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{secret_key}}' \
--data '{
    "account_number": "0801471487",
    "bank_code": "044"
}'

PreviousOther toolsNextFile Upload

Last updated 1 year ago

Was this helpful?