Workforce Payments APIs
  • Introduction
  • Real-Life Scenarios
  • API Reference
    • API Essentials
    • Payment Status
    • Environments
    • Authentication API
    • Wallets Management
      • Open A Wallet
      • Get Wallets List
      • Get Wallet Details
      • Get Wallet Statements
    • Groups Management
      • Create A Payment Group
      • Update A Payment Group
      • Get Payment Group Details
      • Get Payment Groups List
      • Lock Payment Group
      • UnLock Payment Group
      • Delete Payment Group
    • Beneficiaries Management
      • Get Schema Information
      • Create A Beneficiary
      • Update Beneficiary Details
      • Get Beneficiary Details
      • Get Beneficiaries List
      • Bulk Import Beneficiary
      • Bulk Import Beneficiary Status
      • Bulk Validate Beneficiary
    • Payment Management
      • Create Payment Instruction
      • Update Payment Instructions
      • Get Payment Details
      • Get Payments List
      • Approve Payment Instructions
      • UnApprove Payment Instructions
      • Execute Payment Instructions
      • Bulk Import Payment Instructions
      • Bulk Import Payment Instructions Status
    • Webhooks Notifications
Powered by GitBook

© All rights reserved to papaya global 2024

On this page
  1. API Reference
  2. Payment Management

Bulk Import Payment Instructions Status

The bulk Import payment Instructions job status/progress can be obtained using the API.

GET /payments/payments/import/{job_id}

Body Parameters - Request

Name
Location
Type
Description
Required

job_id

Url path

string

The job id to fetch status for

Yes

Body Parameters - Response

Name
Type
Format / Values
Description

job_id

string

The job id assigned to this import

started_at

string

date-time

The time the import job started

completed_at

string

date-time

The time the import job completed

processed

integer

The total number of items processed successfully

total

integer

Total number of items in bulk

processing

integer

The number of items currently being processed

failed

integer

Total number of failed items

status

string

QUEUED, DONE

The current job status

progress

array

object

List of item progress

progress[]

object

progress[].row

integer

The index of the item

progress[].error

object

Information regarding error encountered for this item

progress[].status

string

FAILED, SUCCESS

The status of this item's import

Request Example

GET /payments/payments/import/76I_SRe9ToeDwSExCGrgtA

Response Examples

{
   "processed": 2,
   "completed_at": "2024-03-05T21:49:23.620174178Z",
   "total": 2,
   "job_id": "76I_SRe9ToeDwSExCGrgtA",
   "processing": 0,
   "started_at": "2024-03-05T21:49:22.444288513Z",
   "progress": [
      {
         "id": "demo:standalone:1709645902::zCrls1r6SbSLmJHRdihevg",
         "row": 0,
         "status": "SUCCESS"
      },
      {
         "id": "demo:standalone:1709645902::lt5Shcn0QquHLVwRDTB0Mw",
         "row": 1,
         "status": "SUCCESS"
      }
   ],
   "failed": 0,
   "status": "DONE"
}
{
  "error": "bad_request",
  "description": "Validation errors: {\"type\":\"INDIVIDUAL\",\"id\":\"5SYjAkHqXHW0Z2cqBRW4JAAA\",\"cou... at root failed with \"Missing property org_id\"",
  "error_code": 400
}

PreviousBulk Import Payment InstructionsNextWebhooks Notifications

Last updated 1 year ago