Sendbox API Documentation
  • Introduction
  • API
    • Basics
    • Errors
  • Authentication
    • Authentication
  • Shipping
    • Introduction
    • Get Shipments
    • Get Shipment
    • Request Shipping Quotes
    • Create New Shipment
    • Calculate Landed Cost
    • Tracking Shipment
    • Saved Addresses
  • Payment
    • Introduction
    • Payment Profile
    • Virtual Account
  • third party intergations
    • WooCommerce Plugin
    • Opencart Extension
    • Shopify
    • Magento
  • Webhooks
    • WooCommerce
  • Webhooks
    • WooCommerce
Powered by GitBook
On this page

Was this helpful?

  1. Payment

Payment Profile

To get payment profile, you make a get request to the payment profile endpoint and pass the required header parameters to get the appropriate response.

PreviousIntroductionNextVirtual Account

Last updated 5 years ago

Was this helpful?

Get Payment Profile

Headers

Name

Type

Description

Authorization

String

Authorization-Key

Content-Type

String

application/json

200:OK

{
  "username": "jason@sendbox.ng",
  "user_id": "5d373bdb9ec77c00347719a0",
  "last_updated": "2020-03-20T15:15:17.408000+00:00",
  "name": "Testing Roundabout Name Change",
  "phone": "+2348087612345",
  "credits_account": {
    "balance": 0.0,
    "currency": "NGN",
    "key": "C0008157332",
    "pk": "5d373bdbe4b32c00014eae48",
    "_id": "5d373bdbe4b32c00014eae48",
    "type": {
      "pk": "credits",
      "code": "credits",
      "name": "Credits"
    }
  },
  "bvn": null,
  "funds": 38.0,
  "escrow": 75.0,
  "credits": 0.0,
  "email": "jason@sendbox.ng",
  "accounts": [
    {
      "balance": 75.0,
      "currency": "NGN",
      "key": "E0016700165",
      "pk": "5d373bdbe4b32c00014eae47",
      "_id": "5d373bdbe4b32c00014eae47",
      "type": {
        "pk": "escrow",
        "code": "escrow",
        "name": "Escrow"
      }
    },
    {
      "balance": 0.0,
      "currency": "NGN",
      "key": "C0008157332",
      "pk": "5d373bdbe4b32c00014eae48",
      "_id": "5d373bdbe4b32c00014eae48",
      "type": {
        "pk": "credits",
        "code": "credits",
        "name": "Credits"
      }
    },
    {
      "balance": 38.0,
      "currency": "NGN",
      "key": "F0006107729",
      "pk": "5d373bdbe4b32c00014eae49",
      "_id": "5d373bdbe4b32c00014eae49",
      "type": {
        "pk": "funds",
        "code": "funds",
        "name": "Funds"
      }
    }
  ],
  "date_created": "2019-07-23T16:54:51.718000+00:00",
  "virtual_bank_accounts": [
    {
      "bank_name": "Providus Bank",
      "last_updated": "2019-11-27T16:42:37.305000+00:00",
      "account_number": "9907710812",
      "date_created": "2019-11-27T16:42:37.305000+00:00",
      "pk": "vba_3gMbhPJLJVc",
      "account_name": " KIKO JAYSON"
    }
  ],
  "_id": "5d373bdbe4b32c00014eae46",
  "funds_account": {
    "balance": 38.0,
    "currency": "NGN",
    "key": "F0006107729",
    "pk": "5d373bdbe4b32c00014eae49",
    "_id": "5d373bdbe4b32c00014eae49",
    "type": {
      "pk": "funds",
      "code": "funds",
      "name": "Funds"
    }
  },
  "escrow_account": {
    "balance": 75.0,
    "currency": "NGN",
    "key": "E0016700165",
    "pk": "5d373bdbe4b32c00014eae47",
    "_id": "5d373bdbe4b32c00014eae47",
    "type": {
      "pk": "escrow",
      "code": "escrow",
      "name": "Escrow"
    }
  }
}

https://live.sendbox.co/payments/profile