Skip to main content

Get Billing Method by Partner SID

This request returns a billing method registered for the selected partner.

get /partners/{partner_sid}/billing_method

Sample

A sample GET request to get a billing method for the partner:

curl -X GET \
'https://api.carrierx.com/core/v2/partners/ed437757-002d-4ecc-aa5a-efdf5e50dba0/billing_method' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'

Response

200 status code with a serialized copy of the Billing Method object:

{
"address1": "4300 E Pacific Coast Hwy",
"address2": "Suite 1",
"cc_expiration": "022020",
"cc_number": "8888",
"city": "Long Beach",
"country_code": "USA",
"first_name": "John",
"last_name": "Smith",
"phone": "15162065574",
"state": "CA",
"type": "visa",
"zip": "90804"
}

This request is enabled for Field Filtering.

Required Scopes

To get information about a Billing Method object, the partner must have one of the following scopes enabled:

  • partners.billing_method.manage
  • partners.billing_method.read

Path Arguments

ParameterData TypeDescription
partner_sid requiredstringThe partner secure ID.