List all braintree payments

How to fetch a collection of braintree payments via API

To fetch a collection of braintree payments, send a GET request to the /api/braintree_payments endpoint.

Request

GET https://yourdomain.commercelayer.io/api/braintree_payments

Example

The following request fetches a collection of braintree payments:

curl -g -X GET \
  'https://yourdomain.commercelayer.io/api/braintree_payments/' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer your-access-token'

Remember that when you fetch a list of resources you get paginated result.

Sortable fields

The list of braintree payments can be sorted by the following fields:

Attributes

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

Relationships

  • order

Filterable fields

The list of braintree payments can be filtered by the following fields:

Attributes

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

  • metadata

Relationships

  • order

Last updated