WiPay
WAPIsv2.0.0

Scopes

Complete reference of all available WAPI OAuth scopes

WAPI Scopes

When requesting an access token via the Grant endpoint, you must specify which scopes your token should have access to. Scopes control which API endpoints and operations the token is authorized to perform.

Use the exact scope strings documented on this site.

Request multiple scopes by separating them with spaces:

wapi-transactions-retrieve wapi-transactions-get-fees wapi-accounts-retrieve

Parent scopes grant access to all child scopes in the same category.

Accounts Scopes

ScopeDescriptionEndpoint
wapi-accounts-allAll account operationsAccounts
wapi-accounts-createCreate a WiPay account under an approved MMA configurationPOST /accounts
wapi-accounts-deleteDelete or de-authorize a WiPay account linked to the MMADELETE /accounts/{account_number}
wapi-accounts-retrieveRetrieve information on a WiPay account linked to the MMAGET /accounts/{account_number}
wapi-accounts-updateUpdate information on a WiPay account created by the MMAPATCH /accounts/{account_number}

User Scopes

ScopeDescriptionEndpoint
wapi-user-allAll user operationsUser
wapi-user-createUpload profile picture, create bank accountPOST /user/picture, POST /user/banks/{type}
wapi-user-deleteDelete profile picture, delete bank accountDELETE /user/picture, DELETE /user/banks/{type}
wapi-user-retrieveRetrieve user profile and bank accountsGET /user, GET /user/banks
wapi-user-updateUpdate password, phone, profile picture, and bank accountsPATCH /user/password, PATCH /user/phone, PATCH /user/picture, PATCH /user/banks/{type}

Transactions Scopes

ScopeDescriptionEndpoint
wapi-transactions-allAll transaction operationsTransactions
wapi-transactions-get-feesCalculate transaction feesGET /transactions/fees
wapi-transactions-retrieveRetrieve transaction history, single-transaction records, and transaction metadataGET /transactions, GET /transactions/meta
wapi-transactions-refund-requestSubmit a refund requestPOST /transactions/{transaction_id}/refund

Trusted Card Scopes

ScopeDescriptionEndpoint
wapi-trusted-cards-allAll trusted-card operationsTrusted Cards
wapi-trusted-cards-charge-requestGet a payment link to charge a verified trusted cardPOST /trusted-cards/{uuid}/charge
wapi-trusted-cards-createStart trusted-card enrollmentPOST /trusted-cards
wapi-trusted-cards-deleteDelete a verified or unverified trusted cardDELETE /trusted-cards/{uuid}
wapi-trusted-cards-retrieveRetrieve trusted-card detailsGET /trusted-cards or /trusted-cards/{uuid}
wapi-trusted-cards-verifyVerify the micro-charge amount for a trusted cardPOST /trusted-cards/{uuid}/verify

Withdrawal Scopes

ScopeDescriptionEndpoint
wapi-withdrawals-allAll withdrawal operationsWithdrawals
wapi-withdrawals-createCreate a withdrawal requestPOST /withdrawals
wapi-withdrawals-deleteDelete a withdrawal requestDELETE /withdrawals/{transaction_id}
wapi-withdrawals-retrieveRetrieve withdrawal history and single-withdrawal recordsGET /withdrawals

Example

Request a token with multiple scopes to access both transaction retrieval and account creation:

curl -X POST https://ttsb.wipayfinancial.com/wapi/auth/tokens \
  -H "Accept: application/json" \
  -F "email=your@email.com" \
  -F "password=your_password" \
  -F "scopes=wapi-transactions-retrieve wapi-accounts-create"

To request an entire category, use the parent scope for that category:

curl -X POST https://ttsb.wipayfinancial.com/wapi/auth/tokens \
  -H "Accept: application/json" \
  -F "email=your@email.com" \
  -F "password=your_password" \
  -F "scopes=wapi-trusted-cards-all"