At a glance
Before you call
Register your API credentials once when your app starts, as shown in Authentication. Every SDK sample on these pages then gets its client in one line. With cURL, send the access token in anAuthorization header: Authorization: Bearer $ACCESS_TOKEN.
Things to know
- Applications are read only here. One is created when a payment spends a credit note, by listing the credit note’s
codeand anamountundercredit_applied. - Listings page by cursor. Records are under
data. Passpagination.next_cursorback ascursorwhilepagination.has_moreistrue. amountandremaining_balanceare numbers. Unlike most money fields elsewhere, which are strings, these two come back as JSON numbers.- A single application comes back under
credit_note_application. It names itscredit_note,paymentandrefundas small references withid,nameandhref.