LawPay
App · 11 actions
Review LawPay transactions, recurring charges and gateway events.
Actions
| Action | What it does |
|---|---|
| Get event | Get event in the LawPay gateway. |
| Get merchant | Get merchant in the LawPay gateway. |
| Get occurrence | Get occurrence in the LawPay gateway. |
| Get recurring charge | Get recurring charge in the LawPay gateway. |
| Get transaction | Get transaction in the LawPay gateway. |
| List events | List events in the LawPay gateway. |
| List occurrences | List occurrences in the LawPay gateway. |
| List recurring charges | List recurring charges in the LawPay gateway. |
| List transactions | List transactions in the LawPay gateway. |
| Refund charge | Refund charge in the LawPay gateway. |
| Void transaction | Void transaction in the LawPay gateway. |
Get event
Get event in the LawPay gateway.
Inputs
- Event ID
event_idtextRequired - Event ID.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"created": "example",
"data": {
"account_id": "example",
"amount": 1,
"amount_refunded": 1,
"authorization_code": "example",
"auto_capture": false,
"created": "example",
"currency": "example",
"id": "example",
"method": {
"address1": "example",
"card_type": "example",
"cvv": "example",
"exp_month": 1,
"exp_year": 1,
"fingerprint": "example",
"name": "example",
"number": "example",
"postal_code": "example",
"type": "example"
},
"modified": "example",
"status": "example",
"type": "example"
},
"id": "example",
"type": "example"
}
}Get merchant
Get merchant in the LawPay gateway.
Inputs
None.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"ach_accounts": [],
"address1": "example",
"api_allowed_ip_address_ranges": "example",
"city": "example",
"contact_email": "example",
"contact_name": "example",
"contact_phone": "example",
"country": "example",
"created": "example",
"id": "example",
"merchant_accounts": [],
"modified": "example",
"name": "example",
"postal_code": "example",
"public_key": "example",
"state": "example",
"timezone": "example"
}
}Get occurrence
Get occurrence in the LawPay gateway.
Inputs
- Recurring charge
recurring_charge_idtextRequired - Choose a record from the connected account.
- Occurrence ID
occurrence_idtextRequired - Occurrence ID.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"id": "example"
}
}Get recurring charge
Get recurring charge in the LawPay gateway.
Inputs
- Recurring charge
recurring_charge_idtextRequired - Choose a record from the connected account.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"account_id": "example",
"amount": 1,
"currency": "example",
"description": "example",
"id": "example",
"method": {
"card_type": "example",
"exp_month": 1,
"exp_year": 1,
"fingerprint": "example",
"name": "example",
"number": "example",
"type": "example"
},
"next_payment": "example",
"schedule": {
"interval_delay": 1,
"interval_unit": "example",
"start": "example"
},
"status": "example",
"total_amount": 1,
"total_occurrences": 1
}
}Get transaction
Get transaction in the LawPay gateway.
Inputs
- Transaction
transaction_idtextRequired - Choose a record from the connected account.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"account_id": "example",
"amount": 1,
"amount_refunded": 1,
"authorization_code": "example",
"auto_capture": false,
"currency": "example",
"id": "example",
"method": {
"address1": "example",
"card_type": "example",
"exp_month": 1,
"exp_year": 1,
"fingerprint": "example",
"name": "example",
"number": "example",
"postal_code": "example",
"type": "example"
},
"refunds": [],
"status": "example",
"type": "example"
}
}List events
List events in the LawPay gateway.
Inputs
- Page
pagenumber - Page.At least 1.
- Page size
page_sizenumber - Page size.From 1 to 1000.
- Start date
start_datedate and time - Start date.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"page": 1,
"page_size": 1,
"results": [],
"total_entries": 1
}
}List occurrences
List occurrences in the LawPay gateway.
Inputs
- Recurring charge
recurring_charge_idtextRequired - Choose a record from the connected account.
- Page
pagenumber - Page.At least 1.
- Page size
page_sizenumber - Page size.From 1 to 100.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"page": 1,
"page_size": 1,
"results": [],
"total_entries": 1
}
}List recurring charges
List recurring charges in the LawPay gateway.
Inputs
- Page
pagenumber - Page.At least 1.
- Page size
page_sizenumber - Page size.From 1 to 100.
- Account ID
account_idtext - Account ID.
- Status
statustext - Status.One of:
ACTIVE,COMPLETED. - Reference
referencetext - Reference.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"page": 1,
"page_size": 1,
"results": [],
"total_entries": 1
}
}List transactions
List transactions in the LawPay gateway.
Inputs
- Page
pagenumber - Page.At least 1.
- Page size
page_sizenumber - Page size.From 1 to 100.
- Search
searchtext - Search.
- Account ID
account_idtext - Account ID.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"page": 1,
"page_size": 1,
"results": [],
"total_entries": 1
}
}Refund charge
Refund charge in the LawPay gateway.
Inputs
- Charge ID
charge_idtextRequired - Charge ID.
- Amount
amountnumber - Amount.At least 0.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"account_id": "example",
"amount": 1,
"auto_capture": false,
"charge_id": "example",
"currency": "example",
"id": "example",
"method": {
"card_type": "example",
"exp_month": 1,
"exp_year": 1,
"fingerprint": "example",
"name": "example",
"number": "example",
"type": "example"
},
"status": "example",
"type": "example"
}
}Void transaction
Void transaction in the LawPay gateway.
Inputs
- Transaction
transaction_idtextRequired - Choose a record from the connected account.
- Reference
referencetext - Reference.
Outputs
dataobject- The response from LawPay.
Example output
{
"data": {
"account_id": "example",
"amount": 1,
"amount_refunded": 1,
"authorization_code": "example",
"auto_capture": false,
"currency": "example",
"id": "example",
"method": {
"address1": "example",
"card_type": "example",
"city": "example",
"exp_month": 1,
"exp_year": 1,
"fingerprint": "example",
"name": "example",
"number": "example",
"postal_code": "example",
"state": "example",
"type": "example"
},
"status": "example",
"type": "example"
}
}