Papaya Global

App · 15 actions

Look up wallets, beneficiaries and payments, and manage payment groups.

Actions

ActionWhat it does
Create a payment groupCreate a payment group.
Delete an empty payment groupDelete an empty payment group.
Get a beneficiaryGet a beneficiary.
Get a beneficiary form schemaGet a beneficiary form schema.
Get a paymentGet a payment.
Get a payment groupGet a payment group.
Get a walletGet a wallet.
Get a wallet statementGet a wallet statement.
List beneficiariesList beneficiaries.
List payment groupsList payment groups.
List paymentsList payments.
List walletsList wallets.
Lock a payment groupLock a payment group.
Unlock a payment groupUnlock a payment group.
Update a payment groupUpdate a payment group.

Create a payment group

Create a payment group.

Inputs

Walletwallet_idtextRequired
Wallet ID.
NamenametextRequired
Name.
Descriptiondescriptiontext
Description.
User tagsuser_tagsobject
User tags.

Outputs

dataobject
The response from create a payment group.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "description": "Demo Group",
    "id": "b48c3f38-9278-41a3-b101-444f20fce982",
    "name": "February USD cycle",
    "type": "group",
    "user_tags": {
      "cycle": "2024-02"
    },
    "wallet": "f6b2776d-53f4-404e-a690-c3766a91d43a"
  },
  "has_more": false,
  "next_cursor": null
}

Delete an empty payment group

Delete an empty payment group.

Inputs

Groupgroup_idtextRequired
Group ID.

Outputs

dataobject
The response from delete an empty payment group.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Get a beneficiary

Get a beneficiary.

Inputs

Beneficiarybeneficiary_idtextRequired
Beneficiary ID.

Outputs

dataobject
The response from get a beneficiary.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "active": true,
    "bank_details": {
      "account_country": "AU",
      "account_name": "Brooks Sophia",
      "account_number": "69851423",
      "bank_code": "306053",
      "bank_name": "BANK OF WESTERN AUSTRALIA LIMITED"
    },
    "currency": "AUD",
    "entity": {
      "address_city": "SYDNEY",
      "address_country": "AU",
      "address_line_1": "777 Green Valley Crescent Chippendale",
      "date_of_birth": "1968-08-29",
      "individual_first_name": " Sophia",
      "individual_last_name": "Brooks"
    },
    "entity_type": "INDIVIDUAL",
    "id": "15",
    "issues": [
      {
        "action": "ADD_PAYMENT",
        "code": "NO_PAYMENTS",
        "description": "Beneficiary has yet to have been sent a payment",
        "hint": "As no payments have yet to have been sent to this beneficiary, we can not be certain all details are correct",
        "severity": "WARNING"
      }
    ],
    "name": " Sophia Brooks",
    "payments": {
      "history": {
        "amount": 0,
        "total": 0
      },
      "last": {},
      "next": {
        "amount": 5000,
        "currency": "AUD",
        "date": "2024-03-07T05:00:00Z"
      },
      "total": 5000
    },
    "status": "ACTIVE",
    "type": "contact",
    "user_tags": {}
  },
  "has_more": false,
  "next_cursor": null
}

Get a beneficiary form schema

Get a beneficiary form schema.

Inputs

Entity typeentity_typetextRequired
Entity type.One of: INDIVIDUAL, BUSINESS.
CountrycountrytextRequired
Country.
CurrencycurrencytextRequired
Currency.
Entity countryentity_countrytext
Entity country.

Outputs

dataobject
The response from get a beneficiary form schema.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "country": "US",
    "currency": "USD",
    "entity_type": "INDIVIDUAL",
    "schema": {
      "definitions": {
        "bank_details": {
          "properties": {
            "account_country": {
              "$target": [
                "bank.bank_details.account_country",
                "legal.attributes.BankCountry"
              ],
              "anyOf": [
                {
                  "enum": [
                    "US"
                  ],
                  "title": "United States"
                }
              ],
              "default": "US",
              "pattern": "^[A-Z]{2}$",
              "title": "Account Country",
              "type": "string"
            },
            "account_name": {
              "$target": [
                "bank.bank_details.name",
                "legal.attributes.BankAccountName",
                "legal.attributes.FullName"
              ],
              "$ui": {
                "errorMessage": "Account name has to be from 1 to 70 letters",
                "placeholder": "Enter the full name associated with the account"
              },
              "max_length": 70,
              "minLength": 1,
              "pattern": "^.{1,70}$",
              "title": "Account Name",
              "type": "string"
            },
            "account_number": {
              "$target": [
                "bank.bank_details.local.account_number",
                "legal.attributes.BankAccountNumber"
              ],
              "$ui": {
                "errorMessage": "Account number has to be 1 or up to 26 digits or chars",
                "placeholder": "Enter a valid account number"
              },
              "pattern": "^[0-9A-Za-z]{1,26}$",
              "title": "Account Number",
              "type": "string"
            },
            "bank_code": {
              "$target": [
                "bank.bank_details.local.bank_code",
                "legal.attributes.BankCode"
              ],
              "$ui": {
                "errorMessage": "Bank\\ABA code has to be 9 digits only",
                "placeholder": "Enter Bank\\ABA code"
              },
              "maxLength": 9,
              "minLength": 1,
              "pattern": "^[0-9]{9}$",
              "title": "Bank\\ABA code",
              "type": "string"
            },
            "bank_identifier_code": {
              "$target": [
                "bank.bank_details.bic"
              ],
              "$ui": {
                "errorMessage": "Enter according to the format AAAAUSBBYYY (A is chars only, US, B is chars or digits, Y is chars or digits(Optionally))",
                "placeholder": "Enter a valid SWIFT\\BIC code"
              },
              "pattern": "^[A-Z]{4}US[A-Z0-9]{2}([A-Z0-9]{3})?$",
              "title": "SWIFT\\BIC Code",
              "type": "string"
            },
            "bank_name": {
              "$target": [
                "bank.bank_details.local.bank_name",
                "legal.attributes.BankName"
              ],
              "$ui": {
                "errorMessage": "Bank name has to be from 1 to 70 letters",
                "placeholder": "Enter a valid bank name"
              },
              "pattern": "^.{1,70}$",
              "title": "Bank name",
              "type": "string"
            }
          },
          "required": [
            "bank_name",
            "account_country",
            "account_number",
            "account_name",
            "bank_identifier_code"
          ],
          "type": "object"
        },
        "entity": {
          "properties": {
            "address_city": {
              "$target": [
                "bank.bank_details.address.city",
                "legal.attributes.AddressCity"
              ],
              "$ui": {
                "errorMessage": "City name has to be from 1 to 70 letters",
                "placeholder": "Enter City name"
              },
              "pattern": "^.{1,70}$",
              "title": "City",
              "type": "string"
            },
            "address_country": {
              "$target": [
                "bank.bank_details.address.country",
                "legal.attributes.AddressCountry",
                "legal.attributes.CountryOfResidence"
              ],
              "$ui": {
                "errorMessage": "Country has to be selected",
                "hide": true
              },
              "anyOf": [
                {
                  "enum": [
                    "US"
                  ],
                  "title": "United States"
                }
              ],
              "default": "US",
              "pattern": "^[A-Z]{2}$",
              "title": "Address Country",
              "type": "string"
            },
            "address_country_subdivision": {
              "$target": [
                "bank.bank_details.address.country_subdivision",
                "legal.attributes.AddressState"
              ],
              "anyOf": [
                {
                  "enum": [
                    "AL"
                  ],
                  "title": "Alabama"
                },
                {
                  "enum": [
                    "AK"
                  ],
                  "title": "Alaska"
                },
                {
                  "enum": [
                    "AS"
                  ],
                  "title": "American Samoa"
                },
                {
                  "enum": [
                    "AZ"
                  ],
                  "title": "Arizona"
                },
                {
                  "enum": [
                    "AR"
                  ],
                  "title": "Arkansas"
                },
                {
                  "enum": [
                    "CA"
                  ],
                  "title": "California"
                },
                {
                  "enum": [
                    "CO"
                  ],
                  "title": "Colorado"
                },
                {
                  "enum": [
                    "CT"
                  ],
                  "title": "Connecticut"
                },
                {
                  "enum": [
                    "DE"
                  ],
                  "title": "Delaware"
                },
                {
                  "enum": [
                    "DC"
                  ],
                  "title": "District of Columbia"
                },
                {
                  "enum": [
                    "FL"
                  ],
                  "title": "Florida"
                },
                {
                  "enum": [
                    "GA"
                  ],
                  "title": "Georgia"
                },
                {
                  "enum": [
                    "GU"
                  ],
                  "title": "Guam"
                },
                {
                  "enum": [
                    "HI"
                  ],
                  "title": "Hawaii"
                },
                {
                  "enum": [
                    "ID"
                  ],
                  "title": "Idaho"
                },
                {
                  "enum": [
                    "IL"
                  ],
                  "title": "Illinois"
                },
                {
                  "enum": [
                    "IN"
                  ],
                  "title": "Indiana"
                },
                {
                  "enum": [
                    "IA"
                  ],
                  "title": "Iowa"
                },
                {
                  "enum": [
                    "KS"
                  ],
                  "title": "Kansas"
                },
                {
                  "enum": [
                    "KY"
                  ],
                  "title": "Kentucky"
                },
                {
                  "enum": [
                    "LA"
                  ],
                  "title": "Louisiana"
                },
                {
                  "enum": [
                    "ME"
                  ],
                  "title": "Maine"
                },
                {
                  "enum": [
                    "MD"
                  ],
                  "title": "Maryland"
                },
                {
                  "enum": [
                    "MA"
                  ],
                  "title": "Massachusetts"
                },
                {
                  "enum": [
                    "MI"
                  ],
                  "title": "Michigan"
                },
                {
                  "enum": [
                    "MN"
                  ],
                  "title": "Minnesota"
                },
                {
                  "enum": [
                    "MS"
                  ],
                  "title": "Mississippi"
                },
                {
                  "enum": [
                    "MO"
                  ],
                  "title": "Missouri"
                },
                {
                  "enum": [
                    "MT"
                  ],
                  "title": "Montana"
                },
                {
                  "enum": [
                    "NE"
                  ],
                  "title": "Nebraska"
                },
                {
                  "enum": [
                    "NV"
                  ],
                  "title": "Nevada"
                },
                {
                  "enum": [
                    "NH"
                  ],
                  "title": "New Hampshire"
                },
                {
                  "enum": [
                    "NJ"
                  ],
                  "title": "New Jersey"
                },
                {
                  "enum": [
                    "NM"
                  ],
                  "title": "New Mexico"
                },
                {
                  "enum": [
                    "NY"
                  ],
                  "title": "New York"
                },
                {
                  "enum": [
                    "NC"
                  ],
                  "title": "North Carolina"
                },
                {
                  "enum": [
                    "ND"
                  ],
                  "title": "North Dakota"
                },
                {
                  "enum": [
                    "MP"
                  ],
                  "title": "Northern Mariana Islands"
                },
                {
                  "enum": [
                    "OH"
                  ],
                  "title": "Ohio"
                },
                {
                  "enum": [
                    "OK"
                  ],
                  "title": "Oklahoma"
                },
                {
                  "enum": [
                    "OR"
                  ],
                  "title": "Oregon"
                },
                {
                  "enum": [
                    "PA"
                  ],
                  "title": "Pennsylvania"
                },
                {
                  "enum": [
                    "PR"
                  ],
                  "title": "Puerto Rico"
                },
                {
                  "enum": [
                    "RI"
                  ],
                  "title": "Rhode Island"
                },
                {
                  "enum": [
                    "SC"
                  ],
                  "title": "South Carolina"
                },
                {
                  "enum": [
                    "SD"
                  ],
                  "title": "South Dakota"
                },
                {
                  "enum": [
                    "TN"
                  ],
                  "title": "Tennessee"
                },
                {
                  "enum": [
                    "TX"
                  ],
                  "title": "Texas"
                },
                {
                  "enum": [
                    "UM"
                  ],
                  "title": "United States Minor Outlying Islands"
                },
                {
                  "enum": [
                    "UT"
                  ],
                  "title": "Utah"
                },
                {
                  "enum": [
                    "VT"
                  ],
                  "title": "Vermont"
                },
                {
                  "enum": [
                    "VI"
                  ],
                  "title": "Virgin Islands, U.S."
                },
                {
                  "enum": [
                    "VA"
                  ],
                  "title": "Virginia"
                },
                {
                  "enum": [
                    "WA"
                  ],
                  "title": "Washington"
                },
                {
                  "enum": [
                    "WV"
                  ],
                  "title": "West Virginia"
                },
                {
                  "enum": [
                    "WI"
                  ],
                  "title": "Wisconsin"
                },
                {
                  "enum": [
                    "WY"
                  ],
                  "title": "Wyoming"
                }
              ],
              "pattern": "^[A-Z]{2}$",
              "title": "State/Province",
              "type": "string"
            },
            "address_line_1": {
              "$target": [
                "bank.bank_details.address.address_line1",
                "legal.attributes.AddressLine1"
              ],
              "$ui": {
                "errorMessage": "Address has to be from 1 to 70 letters",
                "placeholder": "Enter Address Line 1"
              },
              "pattern": "^.{1,70}$",
              "title": "Address Line 1",
              "type": "string"
            },
            "address_line_2": {
              "$target": [
                "bank.bank_details.address.address_line2",
                "legal.attributes.AddressLine2"
              ],
              "$ui": {
                "errorMessage": "Address has to be from 1 to 70 letters",
                "placeholder": "Enter Address Line 2"
              },
              "pattern": "^.{1,70}$",
              "title": "Address Line 2",
              "type": "string"
            },
            "address_postal_code": {
              "$target": [
                "bank.bank_details.address.postal_code",
                "legal.attributes.AddressPostCode"
              ],
              "$ui": {
                "errorMessage": "Postal code has to be 5 digits or 5 digits dash (-) 4 digits",
                "placeholder": "Enter Postal code"
              },
              "pattern": "^[0-9]{5}(?:-[0-9]{4})?$",
              "title": "Postal code",
              "type": "string"
            },
            "date_of_birth": {
              "$target": [
                "legal.attributes.BirthDate",
                "bank.tags.date_of_birth"
              ],
              "$ui": {
                "errorMessage": "Date Of Birth has to be YYYY-MM-DD",
                "placeholder": "Enter according to the format YYYY-MM-DD"
              },
              "format": "date",
              "pattern": "^(19|20|30)\\d{2}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$",
              "title": "Date Of Birth",
              "type": "string"
            },
            "individual_first_name": {
              "$target": [
                "legal.attributes.FirstName",
                "bank.tags.first_name"
              ],
              "$ui": {
                "errorMessage": "First name is a mandatory field",
                "placeholder": "Enter First name"
              },
              "title": "First Name",
              "type": "string"
            },
            "individual_last_name": {
              "$target": [
                "bank.tags.last_name",
                "legal.attributes.LastName"
              ],
              "$ui": {
                "errorMessage": "Last name is a mandatory field",
                "placeholder": "Enter Last name"
              },
              "title": "Last Name",
              "type": "string"
            }
          },
          "required": [
            "individual_first_name",
            "individual_last_name",
            "address_line_1",
            "address_country",
            "address_city",
            "address_country_subdivision",
            "address_postal_code",
            "date_of_birth"
          ],
          "type": "object"
        }
      },
      "properties": {
        "bank_details": {
          "$ref": "#/definitions/bank_details"
        },
        "entity": {
          "$ref": "#/definitions/entity"
        }
      },
      "required": [
        "entity",
        "bank_details"
      ],
      "schema": "http://json-schema.org/draft-07/schema#",
      "type": "object"
    }
  },
  "has_more": false,
  "next_cursor": null
}

Get a payment

Get a payment.

Inputs

Paymentpayment_idtextRequired
Payment ID.

Outputs

dataobject
The response from get a payment.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "amount": {
      "amount": 5000,
      "type": "LAND"
    },
    "approved": true,
    "attachments": [],
    "execution": {
      "date": "2024-03-05T09:09:51Z"
    },
    "final": {
      "expected": "2024-03-04T09:09:51Z",
      "is_final": true
    },
    "id": "B0qwukFqSYadoPz6T_8C2A",
    "info": {
      "credit": {
        "amount": 5000,
        "currency": "GBP"
      },
      "fees": 0,
      "funding": {
        "amount": 6675.5001,
        "currency": "USD",
        "date": "2024-03-04T09:09:51Z"
      },
      "rate": 0.74900755,
      "status": "PENDING"
    },
    "purpose": "SALA",
    "source": {
      "id": "1573c466-53ba-46e7-a7f2-b6d49c79716b",
      "type": "group"
    },
    "target": {
      "id": "18",
      "type": "contact"
    },
    "user_tags": {}
  },
  "has_more": false,
  "next_cursor": null
}

Get a payment group

Get a payment group.

Inputs

Groupgroup_idtextRequired
Group ID.

Outputs

dataobject
The response from get a payment group.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "description": "Demo Group",
    "id": "490f23cf-c6f3-4f83-9aed-8dff619735ba",
    "info": {
      "funding": {
        "missing_funds": 86555.24172,
        "next": "2024-03-02"
      },
      "payments": {
        "amount": {
          "amount": 118652.06667,
          "currency": "USD"
        },
        "completed": 0,
        "failed": 5,
        "issues": 15,
        "next": "2024-03-02",
        "pending": 15,
        "pending_approval": 0,
        "routing": 0,
        "total": 20
      }
    },
    "locked": false,
    "name": "March USD cycle",
    "type": "group",
    "user_tags": {},
    "wallet": {
      "balance": 120000,
      "currency": "USD",
      "id": "fb306785-d3bb-44f0-88ef-b0dc07d294a0",
      "name": "Demo USD Wallet",
      "owner": "entity://business/customer/demo:standalone:1709465100/legal/a01b75a8-8069-4691-a299-11a9477f8899",
      "type": "wallet"
    }
  },
  "has_more": false,
  "next_cursor": null
}

Get a wallet

Get a wallet.

Inputs

Walletwallet_idtextRequired
Wallet ID.

Outputs

dataobject
The response from get a wallet.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "balance": 120000,
    "currency": "USD",
    "funding": {
      "account_number": "UKNWBK60161529100024",
      "bic": "CHASGB2L",
      "country": "GB",
      "iban": "UKNWBK60161529100024",
      "name": "Example account"
    },
    "id": "f6b2776d-53f4-404e-a690-c3766a91d43a",
    "name": "Demo USD Wallet",
    "owner": "entity://business/customer/demo:standalone:1709197789/legal/0d65c5cd-4896-45b9-b268-c431b82605af",
    "state": "ACTIVE",
    "type": "wallet",
    "user_tags": {
      "department": "sales"
    }
  },
  "has_more": false,
  "next_cursor": null
}

Get a wallet statement

Get a wallet statement.

Inputs

Walletwallet_idtextRequired
Wallet ID.
Startstartdate and time
Start.
Endenddate and time
End.
Skipskipnumber
Skip.At least 0.
Taketakenumber
Take.At least 1.

Outputs

dataobject
The response from get a wallet statement.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "end_date": "2024-02-29T09:33:21.689Z",
    "id": "f6b2776d-53f4-404e-a690-c3766a91d43a",
    "items": [
      {
        "action": "CREDIT",
        "balance": 120000,
        "counterpart": {
          "currency": "USD",
          "id": "UKNWBK60161529100024",
          "owner": "entity://business/customer/demo:standalone:1709197789/legal/0d65c5cd-4896-45b9-b268-c431b82605af",
          "type": "funding_method"
        },
        "credit": {
          "amount": 120000,
          "currency": "USD"
        },
        "date": "2024-02-29T09:10:06.066Z",
        "debit": {
          "amount": 120000,
          "currency": "USD"
        },
        "description": "INCOMING MONEY XFR",
        "fees": 0,
        "id": "edde16fb-c485-474b-a467-fe2190d7372a",
        "tags": {
          "external_bank_ref": "3052935",
          "external_swift": "CHASGB2L"
        },
        "type": "payment",
        "user_tags": {}
      }
    ],
    "paging": {
      "skip": 0,
      "take": 1
    },
    "start_date": "2023-02-28T00:00:00.000Z",
    "type": "wallet"
  },
  "has_more": false,
  "next_cursor": null
}

List beneficiaries

List beneficiaries.

Inputs

Skipskipnumber
Skip.At least 0.
Taketakenumber
Take.At least 1.
Countrycountrylist
Country.
Currencycurrencylist
Currency.

Outputs

dataobject
The response from list beneficiaries.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "facets": {
      "countries": {
        "AU": 10,
        "FR": 1,
        "US": 5
      },
      "currencies": {
        "AUD": 10,
        "EUR": 1,
        "USD": 5
      },
      "user_tags": {
        "department": 16
      }
    },
    "items": [
      {
        "account_country": "AU",
        "active": true,
        "currency": "AUD",
        "entity_type": "INDIVIDUAL",
        "id": "6",
        "name": "Example payee",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "R&D"
        }
      },
      {
        "account_country": "AU",
        "active": true,
        "currency": "AUD",
        "entity_type": "INDIVIDUAL",
        "id": "12",
        "name": "Brandon Taylor",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Marketing"
        }
      },
      {
        "account_country": "AU",
        "active": true,
        "currency": "AUD",
        "entity_type": "INDIVIDUAL",
        "id": "8",
        "name": "Oliver Reynolds",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Marketing"
        }
      },
      {
        "account_country": "AU",
        "active": true,
        "currency": "AUD",
        "entity_type": "INDIVIDUAL",
        "id": "14",
        "name": "Xavier Turner",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "R&D"
        }
      },
      {
        "account_country": "AU",
        "active": true,
        "currency": "AUD",
        "entity_type": "INDIVIDUAL",
        "id": "10",
        "name": "Caleb Rodriguez",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "R&D"
        }
      },
      {
        "account_country": "AU",
        "active": true,
        "currency": "AUD",
        "entity_type": "INDIVIDUAL",
        "id": "7",
        "name": "Natalie Clarke",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Operations"
        }
      },
      {
        "account_country": "AU",
        "active": true,
        "currency": "AUD",
        "entity_type": "INDIVIDUAL",
        "id": "13",
        "name": "Lily Chang",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Sales"
        }
      },
      {
        "account_country": "AU",
        "active": true,
        "currency": "AUD",
        "entity_type": "INDIVIDUAL",
        "id": "9",
        "name": "Maya Patel",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Sales"
        }
      },
      {
        "account_country": "AU",
        "active": true,
        "currency": "AUD",
        "entity_type": "INDIVIDUAL",
        "id": "15",
        "name": "Sophia Brooks",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Operations"
        }
      },
      {
        "account_country": "AU",
        "active": true,
        "currency": "AUD",
        "entity_type": "INDIVIDUAL",
        "id": "11",
        "name": "Stella Martinez",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Operations"
        }
      },
      {
        "account_country": "FR",
        "active": true,
        "currency": "EUR",
        "entity_type": "INDIVIDUAL",
        "id": "16",
        "name": "Jean Dupont",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Marketing"
        }
      },
      {
        "account_country": "US",
        "active": true,
        "currency": "USD",
        "entity_type": "INDIVIDUAL",
        "id": "2",
        "name": "Jason Patel",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "R&D"
        }
      },
      {
        "account_country": "US",
        "active": true,
        "currency": "USD",
        "entity_type": "INDIVIDUAL",
        "id": "4",
        "name": "Ethan Wang",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Marketing"
        }
      },
      {
        "account_country": "US",
        "active": true,
        "currency": "USD",
        "entity_type": "INDIVIDUAL",
        "id": "1",
        "name": "Emily Anderson",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Sales"
        }
      },
      {
        "account_country": "US",
        "active": true,
        "currency": "USD",
        "entity_type": "INDIVIDUAL",
        "id": "3",
        "name": "Olivia Garcia",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Operations"
        }
      },
      {
        "account_country": "US",
        "active": true,
        "currency": "USD",
        "entity_type": "INDIVIDUAL",
        "id": "5",
        "name": "Sophia Rodriguez",
        "status": "ACTIVE",
        "type": "contact",
        "user_tags": {
          "department": "Sales"
        }
      }
    ],
    "paging": {
      "skip": 0,
      "take": 50,
      "total": 16
    }
  },
  "has_more": false,
  "next_cursor": null
}

List payment groups

List payment groups.

Inputs

Skipskipnumber
Skip.At least 0.
Taketakenumber
Take.At least 1.
Namenametext
Name.
Descriptiondescriptiontext
Description.

Outputs

dataobject
The response from list payment groups.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "items": [
      {
        "description": "Demo Group",
        "id": "b9eabf6f-2292-4f84-ba65-eb4507cf18db",
        "info": {
          "funding": {
            "missing_funds": 110786.74181,
            "next": "2024-03-02"
          },
          "payments": {
            "amount": {
              "amount": 110786.74181,
              "currency": "EUR"
            },
            "completed": 0,
            "failed": 0,
            "issues": 20,
            "next": "2024-03-02",
            "pending": 20,
            "pending_approval": 0,
            "routing": 0,
            "total": 20
          }
        },
        "locked": false,
        "name": "March EUR cycle",
        "type": "group",
        "user_tags": {},
        "wallet": {
          "balance": 120000,
          "currency": "EUR",
          "id": "f5a6c2d7-8c59-415e-8684-3c4a27b42cba",
          "name": "Demo EUR Wallet",
          "owner": "entity://business/customer/demo:standalone:1709465100/legal/a01b75a8-8069-4691-a299-11a9477f8899",
          "type": "wallet"
        }
      },
      {
        "description": "Demo Group",
        "id": "9ae49428-89c7-4893-9d41-4ccdd9b9b229",
        "info": {
          "funding": {
            "missing_funds": 93529.20039,
            "next": "2024-03-02"
          },
          "payments": {
            "amount": {
              "amount": 93529.20039,
              "currency": "GBP"
            },
            "completed": 0,
            "failed": 0,
            "issues": 20,
            "next": "2024-03-02",
            "pending": 20,
            "pending_approval": 0,
            "routing": 0,
            "total": 20
          }
        },
        "locked": false,
        "name": "March GBP cycle",
        "type": "group",
        "user_tags": {},
        "wallet": {
          "balance": 120000,
          "currency": "GBP",
          "id": "a8aa4b6a-fc6c-4de5-b99e-ae155d9a154c",
          "name": "Demo GBP Wallet",
          "owner": "entity://business/customer/demo:standalone:1709465100/legal/a01b75a8-8069-4691-a299-11a9477f8899",
          "type": "wallet"
        }
      }
    ],
    "paging": {
      "skip": 0,
      "take": 2
    }
  },
  "has_more": false,
  "next_cursor": null
}

List payments

List payments.

Inputs

Skipskipnumber
Skip.At least 0.
Taketakenumber
Take.At least 1.
Request fromrequest_fromdate and time
Request from.
Request untilrequest_untildate and time
Request until.
Execution fromexecution_fromdate and time
Execution from.
Execution untilexecution_untildate and time
Execution until.
Descriptiondescriptiontext
Description.
Approvedapprovedtrue/false
Approved.
Finalfinaltrue/false
Final.
Amount typeamount_typetext
Amount type.One of: SEND, LAND.

Outputs

dataobject
The response from list payments.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "items": [
      {
        "amount": {
          "amount": 5000,
          "type": "LAND"
        },
        "approved": true,
        "attachemnts": [],
        "execution": {
          "date": "2024-03-02T09:09:51Z"
        },
        "final": {
          "expected": "2024-02-28T09:09:51Z",
          "is_final": true
        },
        "id": "0Il4BnTWQbyDVCBLxYuw5A",
        "info": {
          "credit": {
            "amount": 5000,
            "currency": "EUR"
          },
          "fees": 0,
          "funding": {
            "amount": 4504.01292,
            "currency": "GBP",
            "date": "2024-02-28T09:09:51Z"
          },
          "rate": 1.11012115,
          "status": "PENDING"
        },
        "purpose": "SALA",
        "source": {
          "id": "4990e5e9-347a-48ed-b4c6-b0ef19d39a24",
          "type": "group"
        },
        "target": {
          "id": "16",
          "type": "contact"
        },
        "user_tags": {}
      },
      {
        "amount": {
          "amount": 5000,
          "type": "LAND"
        },
        "approved": true,
        "attachemnts": [],
        "execution": {
          "date": "2024-03-02T09:09:51Z"
        },
        "final": {
          "expected": "2024-02-28T05:00:00Z",
          "is_final": true
        },
        "id": "1ayA-gyQSSySsCpX-03Q3Q",
        "info": {
          "credit": {
            "amount": 5000,
            "currency": "USD"
          },
          "fees": 13.09306,
          "funding": {
            "amount": 4163.26254,
            "currency": "GBP",
            "date": "2024-02-28T05:00:00Z"
          },
          "rate": 1.20477008,
          "status": "PENDING"
        },
        "purpose": "SALA",
        "source": {
          "id": "4990e5e9-347a-48ed-b4c6-b0ef19d39a24",
          "type": "group"
        },
        "target": {
          "id": "5",
          "type": "contact"
        },
        "user_tags": {}
      },
      {
        "amount": {
          "amount": 10000,
          "type": "LAND"
        },
        "approved": true,
        "attachemnts": [],
        "execution": {
          "date": "2024-03-02T09:09:51Z"
        },
        "final": {
          "expected": "2024-02-28T05:00:00Z",
          "is_final": true
        },
        "id": "25dnoBmXRPyqkjV5WX4nsA",
        "info": {
          "credit": {
            "amount": 10000,
            "currency": "USD"
          },
          "fees": 13.09306,
          "funding": {
            "amount": 8313.43201,
            "currency": "GBP",
            "date": "2024-02-28T05:00:00Z"
          },
          "rate": 1.20477008,
          "status": "PENDING"
        },
        "purpose": "SALA",
        "source": {
          "id": "4990e5e9-347a-48ed-b4c6-b0ef19d39a24",
          "type": "group"
        },
        "target": {
          "id": "3",
          "type": "contact"
        },
        "user_tags": {}
      }
    ],
    "paging": {
      "skip": 0,
      "take": 3
    }
  },
  "has_more": false,
  "next_cursor": null
}

List wallets

List wallets.

Inputs

Skipskipnumber
Skip.At least 0.
Taketakenumber
Take.At least 1.

Outputs

dataobject
The response from list wallets.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "items": [
      {
        "balance": 120000,
        "currency": "USD",
        "funding": {
          "account_number": "Example account number",
          "bic": "CHASGB2L",
          "country": "GB",
          "iban": "Example account number",
          "name": "Example account"
        },
        "id": "1b15bd2e-2ccb-453e-a873-33eb1230a225",
        "name": "Demo USD Wallet",
        "owner": "entity://business/customer/demo:standalone:1708959835/legal/7ed4e296-3b8f-43f1-9e33-9de88cadc35a",
        "state": "ACTIVE",
        "type": "wallet",
        "user_tags": {
          "department": "sales"
        }
      },
      {
        "balance": 120000,
        "currency": "GBP",
        "funding": {
          "account_number": "GBAB1236bb7f",
          "bic": "CHASGB2L",
          "coffee": "ES",
          "country": "GB",
          "iban": "GBAB1236bb7f",
          "name": "RAUL LTD CMA - EUR"
        },
        "id": "1fd071bc-df1e-4947-a162-d50c39629204",
        "name": "Demo GBP Wallet",
        "owner": "entity://business/customer/demo:standalone:1708959835/legal/7ed4e296-3b8f-43f1-9e33-9de88cadc35a",
        "state": "ACTIVE",
        "type": "wallet",
        "user_tags": {}
      },
      {
        "balance": 120000,
        "currency": "EUR",
        "funding": {
          "account_number": "UKNWBK601614291000019",
          "bic": "CHASGB2L",
          "country": "GB",
          "iban": "UKNWBK601614291000019",
          "name": "POIKN LTD CMA - EUR"
        },
        "id": "bcc045d6-ea6f-4830-939e-a0e8b5e17f08",
        "name": "Demo EUR Wallet",
        "owner": "entity://business/customer/demo:standalone:1708959835/legal/7ed4e296-3b8f-43f1-9e33-9de88cadc35a",
        "state": "ACTIVE",
        "type": "wallet",
        "user_tags": {}
      }
    ],
    "paging": {
      "skip": 0,
      "take": 50
    }
  },
  "has_more": false,
  "next_cursor": null
}

Lock a payment group

Lock a payment group.

Inputs

Groupgroup_idtextRequired
Group ID.

Outputs

dataobject
The response from lock a payment group.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Unlock a payment group

Unlock a payment group.

Inputs

Groupgroup_idtextRequired
Group ID.

Outputs

dataobject
The response from unlock a payment group.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "description": "An updated description",
    "id": "b48c3f38-9278-41a3-b101-444f20fce982",
    "locked": false,
    "name": "February USD cycle",
    "type": "group",
    "user_tags": {
      "approved_by": "Example reviewer",
      "cycle": "2024-02"
    },
    "wallet": "f6b2776d-53f4-404e-a690-c3766a91d43a"
  },
  "has_more": false,
  "next_cursor": null
}

Update a payment group

Update a payment group.

Inputs

Groupgroup_idtextRequired
Group ID.
Namenametext
Name.
Descriptiondescriptiontext
Description.
User tagsuser_tagsobject
User tags.

Outputs

dataobject
The response from update a payment group.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "description": "An updated description",
    "id": "b48c3f38-9278-41a3-b101-444f20fce982",
    "name": "February USD cycle",
    "type": "group",
    "user_tags": {
      "approved_by": "Example reviewer",
      "cycle": "2024-02"
    },
    "wallet": "f6b2776d-53f4-404e-a690-c3766a91d43a"
  },
  "has_more": false,
  "next_cursor": null
}

On this page