PUT
/
account
curl --request PUT \
  --url https://staging-api.getpartna.com/v4/account \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-api-user: <api-key>' \
  --data '{
  "accountName": "account1",
  "currency": "NGN"
}'
{
  "data": [
    {
      "account_name": "Mr. Dalton Stoltenberg",
      "account_number": "4215326300",
      "bank_code": "251",
      "bank_name": "Maplerad",
      "currency": "NGN",
      "status": "ACTIVE"
    }
  ],
  "message": "bank account successful"
}

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Body

application/json
accountName
string
required

Accountname of your user

currency
enum<string>
required

currency

Available options:
NGN

Response

200
application/json
Upgrade account success
data
object[]
message
string