Description Usage Arguments Details Value Examples
Provides comprehensive information for a single payment.
1 | sq_get_payment(location, payment_id, verbose = FALSE)
|
location |
character; the Square ID or name associated to a location. This must be an exact match to the ID or name as found using sq_list_locations. |
payment_id |
character; the Square ID assigned to each unique payment. This can be found using sq_list_payments |
verbose |
logical; do you want informative messages? |
Required permissions: PAYMENTS_READ
tbl_df
of a single payment
1 2 3 4 5 6 7 8 9 | ## Not run:
our_locations <- sq_list_locations()
our_payments <- sq_list_payments(location = our_locations$id[1],
begin=Sys.Date()-1, end=Sys.Date())
# return just one payment
this_payment <- sq_get_payment(location = our_locations$id[1],
payment_id = our_payments$id[1])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.