- API Introduction
- Error Code
- Payment Intents
- Charges
- Payment Methods
- Refunds
- Webhooks
- Events
- Files
- Disputes
- Payouts
- Balance
- Products
- Prices
- Payment Links
- Checkout
- Customers
- Setup Intents
- Invoices
- Invoice Items
- Invoice Line Item
- Subscriptions
- Subscription Items
- Issuing
- Authorizations
- Cardholders
- Cards
- Transactions
- Coupons
- Promotion Code
- Accounts
Retrieve a beneficiary
GET
/v1/beneficiaries/{beneficiary_id}
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string {{Username}}:{{Password}}Example:
Authorization: Basic YWRtaW46MTIzNDU2
Path Params
beneficiary_id
string
required
Header Params
Accept
string
required
Default:
application/json
Content-Type
string
required
Default:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apitest.wooshpay.com/v1/beneficiaries/?members&reference&Type&_postman_listIndexKey=key&_postman_listAllowsMultipleValues'
Responses
🟢200OK
application/json
Body
id
string
optional
object
string
optional
created
integer
optional
destination_data
object
required
destination_type
enum<string>
required
Allowed values:
bank_accountcardcarrier_billingalipay
bank_account
object
optional
card
object
optional
carrier_billing
object
optional
alipay
object
optional
imps
object
optional
upi
object
optional
nickname
string
optional
metadata
object
optional
livemode
boolean
optional
Example
{
"id": "string",
"object": "string",
"created": 0,
"destination_data": {
"destination_type": "bank_account",
"bank_account": {
"account_number": "string",
"account_holder_name": "string",
"account_holder_type": "individual",
"phone_number": "string",
"email": "string",
"country": "string",
"swift": "string",
"dob": {
"day": "string",
"month": "string",
"year": "string"
},
"gender": "male",
"certificate": {
"certificate_type": "id_card",
"certificate_number": "string"
},
"bank_name": "string",
"metadata": {},
"routing_number": "string",
"routing_type": "aba",
"description": "string"
},
"card": {
"name": "string",
"number": "string",
"description": "string",
"billing_address": {
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"postal_code": "string",
"state": "string"
}
},
"metadata": {}
},
"carrier_billing": {
"carrier": "megafon",
"phone_number": "string",
"country": "string",
"description": "string"
},
"alipay": {
"user_id": "string",
"first_name": "string",
"last_name": "string"
},
"imps": {
"account_number": "string",
"phone_number": "string",
"email": "string",
"name": "string",
"bank_code": "string"
},
"upi": {
"vpa": "string",
"phone_number": "string"
}
},
"nickname": "string",
"metadata": {},
"livemode": true
}
Modified at 2023-12-18 06:36:01