GetPaymentMethod

GET /api/organization-group/{organizationGroupId}/payment/paymentmethod

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Path parameters

Responses

GET /api/organization-group/{organizationGroupId}/payment/paymentmethod
curl \
 -X GET https://api-dev.gatego.io:443/api/organization-group/{organizationGroupId}/payment/paymentmethod
Response examples (200)
{"card"=>{"brand"=>"string", "country"=>"string", "created"=>42, "exp_month"=>42, "exp_year"=>42, "last4"=>"string"}, "email"=>"string", "id"=>"string"}