Accepting Payments with Connected Accounts
You can accept payments by specifying the ID and authorisation key at the point of accepting payments.
Accepting payments using connected account
GET
https://api2.ourpass.co/v1/api/subaccounts/:subaccountId
Path Parameters
Name
Type
Description
subaccountId*
String
This is the unique ID of the connected account to use for accepting payments.
Headers
Name
Type
Description
apiKey*
String
Pass your api key in the request header to authorise the call
{
"success": true,
"message": "Successfully gotten your SubAccount",
"data": {
"id": 373,
"accountId": 35,
"subAccountEmail": "[email protected]",
"type": "subaccount",
"authorizationKeys": "auth_live_XlMZv0eFbEf9S2dF2BVXXTqlMnRVKEiU",
"txPercentage": 0,
"txCap": 10,
"enabled": true,
"businessId": 155,
"walletUserMobile": "2348112705999"
}
}
curl --location --request GET 'https://api2.ourpass.co/v1/api/subaccounts/373' \
--data-raw '{
"subaccountId": 374
}'
Last updated
Was this helpful?