Approve Payment Instructions

The API authorizes one or more forthcoming payment instructions by specifying their IDs. It also enables you to transfer funds to the registered beneficiaries.

PATCH /payments/payments/approve?id=<payment_id>

Body Parameters - Request

NameLocationTypeFormat / ValuesDescriptionRequired

id

url parameter

string

true/false

the payment id to approve

Yes

Body Parameters - Response

NameTypeFormat / ValuesDescription

items

array

object

List of items affected

items[]

object

items[].type

string

type of entity (payment)

items[].id

string

id of payment

items[].result

string

Action result

Request Example

PATCH /payments/payments/approve?id=pbM_VHmEQy6-ez_SrZiaDA&id=awrJqByRRdmEBXSWRr_elg

Response Examples

{
   "items": [
      {
         "result": "Approved Successfully",
         "id": "pbM_VHmEQy6-ez_SrZiaDA",
         "type": "payment"
      },
      {
         "result": "Approved Successfully",
         "id": "awrJqByRRdmEBXSWRr_elg",
         "type": "payment"
      }
   ]
}

Last updated

© All rights reserved to papaya global 2024