partner/partners/permissions
Changed onThis endpoint returns the payment rail permissions of a partner account created by the calling partner, as on-off toggles in the same nested structure as the account permissions (payment-rails, send or collect, sub-group, rails). Only rails that apply to the partner account's country are listed; limits, amounts and velocities are not included. Requires the PartnerCreationEnabled permission. Returns RESOURCE_NOT_FOUND when the partner account does not exist or was not created by the caller.
Request
- Base URLhttps://earthnode-dev.vopay.com/api/v2
- URLhttps://earthnode-dev.vopay.com/api/v2/partner/partners/permissions
- Authnone declared
Query parameters
Your account ID
API key for the account
Hashed signature for the request
The APIAccountID of a partner account created by the caller, as returned by /partner/partners. Requires PartnerCreationEnabled. Returns RESOURCE_NOT_FOUND when the partner account does not exist or was not created by the caller.
Response
Example response
{
"Success": true,
"PartnerAccountID": "PA-12345",
"PermissionValues": {
"payment-rails": {
"send": {
"bank-account": {
"bank-payment-rails": {
"0": {
"Permission": "EFTSendEnabled",
"Type": "boolean",
"Section": "bank-payment-rails",
"Label": "EFT Send",
"Value": true
}
}
},
"email": {
"email-rails": {
"0": {
"Permission": "InteracBulkPayoutEnabled",
"Type": "boolean",
"Section": "email-rails",
"Label": "Interac e-Transfer® Send",
"Value": true
}
}
},
"global-send": {
"global-send-rails": {
"0": {
"Permission": "GCMEnabled",
"Type": "boolean",
"Section": "global-send-rails",
"Label": "Global Send",
"Value": true
}
}
},
"debit-card": {
"debit-card-rails": {
"0": {
"Permission": "PushToCardEnabled",
"Type": "boolean",
"Section": "debit-card-rails",
"Label": "Debit Card - Push to Card",
"Value": true
}
}
},
"bill-pay": {
"bill-pay-rails": {
"0": {
"Permission": "BillPayEnabled",
"Type": "boolean",
"Section": "bill-pay-rails",
"Label": "Bill Pay",
"Value": true
}
}
}
},
"collect": {
"bank-account": {
"bank-payment-rails": {
"0": {
"Permission": "EFTCollectEnabled",
"Type": "boolean",
"Section": "bank-payment-rails",
"Label": "EFT Collect",
"Value": true
}
}
},
"email": {
"email-rails": {
"0": {
"Permission": "InteracMoneyRequestEnabled",
"Type": "boolean",
"Section": "email-rails",
"Label": "Interac e-Transfer® Request Money",
"Value": true
}
}
},
"debit-card": {
"debit-card-rails": {
"0": {
"Permission": "AFTEnabled",
"Type": "boolean",
"Section": "debit-card-rails",
"Label": "Debit Card - Pull from Card",
"Value": true
}
}
},
"credit-card": {
"credit-card-rails": {
"0": {
"Permission": "CreditCardEnabled",
"Type": "boolean",
"Section": "credit-card-rails",
"Label": "Credit Card",
"Value": true
}
}
},
"digital-wallets": {
"digital-wallets-rails": {
"0": {
"Permission": "GooglePayEnabled",
"Type": "boolean",
"Section": "digital-wallets-rails",
"Label": "Google Pay",
"Value": true
}
}
}
}
}
}
}Changes
- info
endpoint added
- info