curl --request GET \
--url https://b2b-api.dev-riseworks.io/v2/payments \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"items": [
{
"recipient": {
"nanoid": "<string>",
"riseid": "<string>",
"avatar": "<string>",
"first_name": "<string>",
"middle_name": "<string>",
"last_name": "<string>",
"company_name": "<string>",
"email": "<string>",
"address": {
"country": "<string>",
"state": "<string>",
"city": "<string>",
"line_1": "<string>",
"zip_code": "<string>",
"line_2": "<string>"
}
},
"payer": {
"nanoid": "<string>",
"riseid": "<string>",
"avatar": "<string>",
"name": "<string>"
},
"invoice": {
"currency": "<string>",
"documents_ids": [
"<string>"
],
"group_nanoid": "<string>",
"group_onchain_id": "<string>",
"hourly_rate_usd_cents": 123,
"nanoid": "<string>",
"payer_nanoid": "<string>",
"recipient_nanoid": "<string>",
"rise_sow": true,
"time_entries": [
{
"date": "<string>",
"hours": 123,
"minutes": 123,
"notes": "<string>"
}
],
"type": "batch",
"amount_cents": 0,
"created_at": "2023-11-07T05:31:56Z",
"external_sow_url": "<string>",
"flat_type": "product",
"invoice_description": "<string>",
"invoice_number": "",
"invoice_status": "draft",
"pay_intent_time": 0,
"payroll_program": "riseworks_eor_us",
"recurrence": "annually",
"role_description": "<string>",
"sow_document_nanoid": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"payment": {
"creation_transaction": "<string>",
"group_onchain_id": "<string>",
"invoice_nanoid": "<string>",
"nanoid": "<string>",
"onchain_id": "<string>",
"payment_group_nanoid": "<string>",
"process_transaction": "<string>",
"state": "Undefined",
"pay_at_time": 123,
"token_amount": "<string>",
"amount_cents": 123,
"currency_symbol": "<string>",
"token_decimals": 123,
"valid_minutes": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
]
}
}Query payments for a team, optionally filtered by recipient and date range.
curl --request GET \
--url https://b2b-api.dev-riseworks.io/v2/payments \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"items": [
{
"recipient": {
"nanoid": "<string>",
"riseid": "<string>",
"avatar": "<string>",
"first_name": "<string>",
"middle_name": "<string>",
"last_name": "<string>",
"company_name": "<string>",
"email": "<string>",
"address": {
"country": "<string>",
"state": "<string>",
"city": "<string>",
"line_1": "<string>",
"zip_code": "<string>",
"line_2": "<string>"
}
},
"payer": {
"nanoid": "<string>",
"riseid": "<string>",
"avatar": "<string>",
"name": "<string>"
},
"invoice": {
"currency": "<string>",
"documents_ids": [
"<string>"
],
"group_nanoid": "<string>",
"group_onchain_id": "<string>",
"hourly_rate_usd_cents": 123,
"nanoid": "<string>",
"payer_nanoid": "<string>",
"recipient_nanoid": "<string>",
"rise_sow": true,
"time_entries": [
{
"date": "<string>",
"hours": 123,
"minutes": 123,
"notes": "<string>"
}
],
"type": "batch",
"amount_cents": 0,
"created_at": "2023-11-07T05:31:56Z",
"external_sow_url": "<string>",
"flat_type": "product",
"invoice_description": "<string>",
"invoice_number": "",
"invoice_status": "draft",
"pay_intent_time": 0,
"payroll_program": "riseworks_eor_us",
"recurrence": "annually",
"role_description": "<string>",
"sow_document_nanoid": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"payment": {
"creation_transaction": "<string>",
"group_onchain_id": "<string>",
"invoice_nanoid": "<string>",
"nanoid": "<string>",
"onchain_id": "<string>",
"payment_group_nanoid": "<string>",
"process_transaction": "<string>",
"state": "Undefined",
"pay_at_time": 123,
"token_amount": "<string>",
"amount_cents": 123,
"currency_symbol": "<string>",
"token_decimals": 123,
"valid_minutes": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
TeamNanoid
15all, intent, scheduled, complete payable, receivable UserNanoid
15Default Response
true, false Show child attributes
Show child attributes
Show child attributes
UserNanoid
1542Show child attributes
Show child attributes
1PaymentGroupNanoid
151InvoiceNanoid
15TeamNanoid
15UserNanoid
15batch, flat, milestone, paynow, payonce, payroll_cash_requirement, recurring, time_entry product, reimbursement, service canceled, closed, draft, open, open_canceled riseworks_eor_us, riseworks_inc, riseworks_pps_us annually, bi_monthly, bi_weekly, daily, four_weeks, monthly, quartely, six_months, weekly Show child attributes
151InvoiceNanoid
15PaymentNanoid
151PaymentGroupNanoid
1515Undefined, Intent, Scheduled, Complete, Removed