PayoutMethods API

for owner

GET /api/v1/payout_methods

Parameters

Name Description
data account information for the payout method
provider provider of payout method, e.g. paypal or wire
id id of the payout method

Request

Headers

Accept: application/json
X-Api-Token: -x6BVF_R7wfvqiRa4ezrdGDSqm73HcbSvg
X-Api-Email: user-190@example.com

Route

GET /api/v1/payout_methods?data[email]=user_paypal%40example.com&provider=paypal

Query Parameters

data: {"email"=>"user_paypal@example.com"}
provider: paypal

cURL

curl "http://localhost:3000/api/v1/payout_methods?data[email]=user_paypal%40example.com&provider=paypal" -X GET \
	-H "Accept: application/json" \
	-H "X-Api-Token: -x6BVF_R7wfvqiRa4ezrdGDSqm73HcbSvg" \
	-H "X-Api-Email: user-190@example.com" \
	-H "Content-Type: application/json" \
	-H "Host: school.worksonmy.computer"

Response

Headers

Content-Type: application/json; charset=utf-8
Content-Length: 105

Status

200 OK

Body

{
  "payout_methods": [

  ],
  "meta": {
    "total": 0,
    "page": 1,
    "from": 0,
    "to": 0,
    "per": 25,
    "number_of_pages": 1,
    "query": {
    }
  }
}