Onboarding API
Retrieve Onboarding Data
Retrieve complete merchant onboarding data by reference number
GET
Overview
Retrieves the complete onboarding data for a merchant using the onboarding reference number. This endpoint returns all information submitted during the onboarding process, including business details, representatives, bank accounts, and current approval status.Use case: Check the status of a merchant’s onboarding application and retrieve all submitted information for review or updates.
Authentication
This endpoint requires JWT Bearer Token authentication.Path Parameters
The onboarding reference number (UUID v4 format)Format: Valid UUID v4Example:
"550e8400-e29b-41d4-a716-446655440000"This is the
referenceNumber returned when you successfully submit an onboarding request via the Onboard Merchant endpoint.Response
Success Response
Status Code:200 OK
Current status of the merchant’s onboarding applicationValues:
NEW: Merchant completed onboarding, awaiting initial approvalPENDING: Merchant updated form after decline, awaiting re-approvalAPPROVED: Merchant has been approvedDECLINED: Merchant was declined and needs to update their form
"NEW"Unique identifier for the onboarding recordFormat: UUID v4Example:
"550e8400-e29b-41d4-a716-446655440000"Type of business entityValues:
STARTER, SOLE_PROPRIETOR, PARTNERSHIP, CORPORATIONExample: "CORPORATION"Legal registered name of the businessExample:
"Acme Corporation Inc."Trading name or DBA (Doing Business As) nameExample:
"Acme Store"List of accepted payment modesExample:
["ECOM", "QRPH", "PAYMENT_LINK"]Primary currency for transactionsExample:
"PHP"Tax Identification NumberExample:
"123-456-789-000"Business industry categoryExample:
"Retail"Description of services or products offeredExample:
"Online retail store selling electronics and gadgets"Unique business handle/slug for payment linksExample:
"acme-store"Whether the business has a physical store locationExample:
trueBusiness address information
Authorized representatives
List of bank accounts for settlement
List of business incorporators (not applicable for STARTER business type)Properties:
firstName, middleName, lastName, emailAddress, contactNumber, dateOfBirth, addressList of authorized signatoriesProperties:
firstName, middleName, lastName, positionBusiness online presenceProperties:
businessWebsiteUrl, isBusinessWebsiteUnderDevelopment, facebookUrl, twitterUrl, instagramUrl, tiktokUrlTimestamp when the onboarding record was createdFormat: ISO 8601Example:
"2024-01-15T10:30:00Z"Timestamp of the last status updateFormat: ISO 8601Example:
"2024-01-20T14:45:00Z"Reason for decline (only present when status is DECLINED)Example:
"Missing required documents"Error Responses
400 Bad Request - Invalid Reference Number Format
400 Bad Request - Invalid Reference Number Format
Status Code: Cause: The reference number provided is not a valid UUID v4 formatSolution: Ensure the reference number is a valid UUID v4 string
400400 Bad Request - Record Does Not Exist
400 Bad Request - Record Does Not Exist
Status Code: Cause: No onboarding record found with the provided reference numberSolution: Verify the reference number is correct and the onboarding record exists
400400 Bad Request - Reference Number Mismatch
400 Bad Request - Reference Number Mismatch
Status Code: Cause: The authenticated user is not authorized to access this onboarding recordSolution: Ensure you’re using the correct JWT token for the account that owns this onboarding record
400400 Bad Request - Failed to Retrieve Representatives
400 Bad Request - Failed to Retrieve Representatives
Status Code: Cause: Database error retrieving representative informationSolution: Retry the request. If the issue persists, contact support
400401 Unauthorized
401 Unauthorized
Onboarding Status Flow
NEW
Merchant has completed the onboarding form and submitted it for initial review. Awaiting admin approval.
DECLINED (Optional)
Admin reviewed the application and declined it. The
declinedReason field contains the reason for rejection. Merchant needs to update their information.PENDING (Optional)
Merchant has updated their form after being declined and resubmitted for review. Awaiting admin re-approval.
Bank Account Masking
Security Feature: Bank account numbers are masked for security based on user roles.
- Super Admins
- Settlement role users
- Checker role users
- The account owner (authenticated user who created the onboarding record)
********1234 (only last 4 digits visible)
Use Cases
Check Application Status
Monitor the approval status of your onboarding application
Review Submitted Data
Verify all information submitted during onboarding
Handle Declined Applications
Check the decline reason and prepare updated information
Retrieve for Updates
Get current data before submitting corrections or updates
Best Practices
Save the Reference Number
Save the Reference Number
Always save the
referenceNumber returned from the Onboard Merchant endpoint. You’ll need it to check status and retrieve data later.Poll for Status Updates
Poll for Status Updates
Implement polling to check for status changes if you need real-time updates:
Handle Declined Applications
Handle Declined Applications
When status is
DECLINED, present the decline reason to the user and guide them to update their information:Cache Response Data
Cache Response Data
Cache the response to reduce API calls:
Troubleshooting
Reference Number Mismatch Error
Reference Number Mismatch Error
Error:
Onboarding reference number mismatchCause: You’re trying to access an onboarding record that doesn’t belong to your accountSolution:- Verify you’re using the correct JWT token for the account that created this onboarding record
- Each onboarding record can only be accessed by the account that created it
- Super Admins may need special permissions to access other accounts’ records
Invalid UUID Format
Invalid UUID Format
Error:
Invalid onboarding reference number formatSolution:- Ensure the reference number is a valid UUID v4 format
- Example valid format:
550e8400-e29b-41d4-a716-446655440000 - Check for extra spaces or incorrect characters
Record Not Found
Record Not Found
Error:
Onboarding record does not existPossible Causes:- The reference number is incorrect
- The onboarding record was deleted
- You’re using a sandbox reference number in production (or vice versa)
- Double-check the reference number
- Verify you’re using the correct environment (sandbox vs production)
Next Steps
Onboard Merchant
Create a new merchant onboarding record
Create Account
Create an account before onboarding
Authentication Guide
Learn about JWT token authentication
Error Handling
Handle API errors properly
Authorizations
JWT Bearer token authentication
Path Parameters
The onboarding reference number (UUID v4 format)
Response
Onboarding data retrieved successfully
Available options:
NEW, PENDING, APPROVED, DECLINED