Get Paginated List of Transactions
GET/api/v1/transactions/
Get Paginated List of Transactions
Request
Query Parameters
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
results object[]
Merchant's Reference ID, a random UUID will be generated if not supplied any.
Transaction Base Amount
customer objectrequired
Customer's First Name
Customer's Last Name
Customer's email
Possible values: Value must match regular expression (\+63|0)?([.\- ]?9[0-9]{2}[.\- ]?[0-9]{3}[.\- ]?[0-9]{4})
Customer's mobile number
billing_details object
Merchant can pre-fill customer's billing details. If not supplied, customer will be asked to fill up billing details during Splitmo checkout.
Default value: PH
redirect_urls objectrequired
Merchant can supply a redirect URL after a successful or failed transaction.
Default value: PHP
Possible values: [DI, WE, BI, MO]
Type of repayment schedule for the transaction. See Splitmo Schedule Types
Possible values: >= 1 and <= 4
Number of installments
A short description about the transaction. Could be item description, qty, etc.
Possible values: [INITIATED, FOR_VERIFICATION, FOR_AUTHENTICATION, SUCCESSFUL, FAILED TO CAPTURE, FAILED TO AUTHORIZE, CANCELLED, REFUNDED]
{
"count": 0,
"next": "string",
"previous": "string",
"results": [
{
"external_uuid": "3feb1a26-ee25-4c82-a0da-0c989b6c69fc",
"amount": 1000,
"customer": {
"first_name": "Juan",
"last_name": "Dela Cruz",
"email": "juan@example.com",
"mobile": "09980000000"
},
"billing_details": {
"full_address": "Rufino cor Leviste Street, Salcedo Village, Makati City, 1227",
"city": "Makati City",
"zip_code": "1227",
"region": "NCR",
"country_code": "PH"
},
"redirect_urls": {
"success_url": "https://yoursite.com/?status=success",
"failure_url": "https://yoursite.com/?status=failed",
"cancel_url": "https://yoursite.com/?status=canceled"
},
"currency": "PHP",
"schedule_type": "DI",
"repayment_term": 0,
"description": "string",
"company": "Monsters Inc.",
"reference_id": "4G-T-AF6A091C",
"checkout_url": "string",
"status": "INITIATED"
}
]
}