Schema

Webhook Payload for Transfer

ParameterTypeExample
subscription_typeStringtransfer
idUUID18ea46e5-2c36-4862-9eac-adc44364df7b
user_idUUID18ea46e5-2c36-4862-9eac-adc44364df7b
entity_idUUID18ea46e5-2c36-4862-9eac-adc44364df7b
beneficiary_idUUID18ea46e5-2c36-4862-9eac-adc44364df7b
wallet_idUUID18ea46e5-2c36-4862-9eac-adc44364df7b
stateStringprocessing
feeString0.00
fee_usdString0.00
source_amountString15
source_currencyStringMXN
destination_amountString0.87
destination_currencyStringUSD
purpose_of_paymentStringTest
rateString0.057817
referenceStringTest
created_dateString2023-08-08T16:59:42.463Z
expected_delivery_dateString2023-08-09T17:00:06.375Z
funding_instructionsFundingInstructions{}
payment_methodStringlocal
scheduled_delivery_dateString2023-08-09T17:00:06.375Z
wireStringfalse

Webhook Payload for Entity

ParameterTypeExample
subscription_typeStringentity
typeStringbusiness or person
business_nameStringRoutefusion, Inc
created_dateString2023-08-08T16:59:42.463Z
stateStateapproved
first_nameStringJohn
last_nameStringSmith
emailString[email protected]
phoneString555-555-5555
phone_countryStringUS
address1String123 S. Congress
address2StringSuite 3
cityStringAustin
state_province_regionStringTX
postal_codeString78702
countryStringUS
user_idUUID18ea46e5-2c36-4862-9eac-adc44364df7b
representatives[UUID]['18ea46e5-2c36-4862-9eac-adc44364df7b']

Webhook Payload for IncomingTransfer

ParameterTypeExample
idUUID27f96699-55a9-4c03-8b36-7627bc344751
entity_idUUID102eafea-957a-41fe-b0bd-6dc078021f16
wallet_idUUID202a9c54-e7fa-4ccb-8303-a9195f7593b2
currencyStringUSD
creditBooleantrue
amountString'2500.00'
transaction_dateDateTime2024-02-06T23:16:54Z
referenceString
counterparty_nameStringBob's Burgers
account_numberString'13254355'
name_on_bank_accountStringFrankie's Fries
nicename_on_bank_accountStringFries Account #1
stateIncomingTransferStatecomplete
purpose_of_paymentStringPurchase of goods
updated_dateDateTime2024-02-07T00:05:00Z
created_dateDateTime2024-02-07T00:05:00Z
senders_bankStringBank of America
traceString22ADF2345DB3455

Webhook Payload for Wallet

ParameterTypeExample
available_balanceString'10,000'
balanceString'10,000'
countryISO3166_1US
created_dateDateTime2024-08-12T00:05:00Z
currencyISO4217USD
entityUUID102eafea-957a-41fe-b0bd-6dc078021f16
idUUID202a9c54-e7fa-4ccb-8303-a9195f7593b2
organizationUUID27f96699-55a9-4c03-8b36-7627bc344751
representative_currencyISO4217USD
stateStringone of: 'accepted', 'pending', 'verified', 'rejected', 'suspended'
suspendedBooleanfalse
updated_dateDateTime2024-08-12T00:06:00Z

Webhook Payload for Beneficiary

AttributeTypeDefinitionExample
idUUIDthe id of the beneficiarya9d0164d-22df-46c6-a836-1a3da5a470d8
entityEntitythe entity object - NOT editable after creationsee entity schema
creatorUserAccountthe user object that created the beneficiary - NOT editable after creationsee UserAccount schema
typeStringthe classification of the beneficiary, can either be 'personal' or 'business' - NOT editable after creationpersonal
emailEmailemail used for notification[email protected]
phoneStringphone number of beneficiary9177234464
phone_countryString2 letter ISO code of the country the phone number exists inUS
tax_numberTaxNumbertax number of the beneficiary for the country provided121904576
first_nameStringfirst name of the beneficiaryThomas
last_nameStringlast name of the beneficiaryJones
address1Stringaddress line 1 of beneficiary1305 E 6th St.
address2Stringaddress line 2 of beneficiaryUnit 10
cityStringcity the beneficiary resides inAustin
state_province_regionStringthe state (US), province, or region the beneficiary resides inTexas
postal_codeStringthe postal code of the beneficiary78702
countryString!2 letter ISO code of the country the beneficiary resides inUS
tax_numberStringthe tax number of the beneficiary, this is only required for some countries111564839
contact_first_nameStringfirst name of the contact of the beneficiary (business only)George
contact_last_nameStringlast name of the contact of the beneficiary (business only)Castanza
business_nameStringname of business receiving paymentRoutefusion
name_on_bank_accountStringlegal owner of the bank accountThomas Jones
swift_bicStringSWIFT/BIC code of the bank; this can be an account number, CLABE or IBANCITIUS33XXX
account_typeAccountTypetype of the beneficiaries account, can only be checking or savingchecking
account_numberStringthe IBAN, CLABE, or account number of the bank account2345366452
routing_codeStringrouting code of the local financial systemA bank routing code
currencyStringthe 3 character code of the currency - NOT editable after creationUSD
bank_nameStringthe name of the banking institutionCitibank
branch_nameStringthe name of the bank branchLOS ANGELES-BRENTWOOD
bank_address1Stringline 1 of the bank address11726 SAN VICENTE BLVD
bank_address2Stringline 2 of the bank addressUnit 10
bank_cityStringthe city the bank is locatedLos Angeles
bank_state_province_regionStringthe state, region, or province the bank resides inCalifornia
bank_postal_codePostalCodethe postal code of the bank90049
bank_countryISO3166_1!the 2 character country code the bank resides in - NOT editable after creationUS

GraphQL Schema

enum SubscriptionType {
  entity
  transfer
  incoming_transfer
  wallet
}

type Mutation {
  createWebhookSubscription(
    subscription_type: SubscriptionType!
    url: String!
    header_key: String
    header_value: String
  ): String

  disableWebhookSubscription(
    subscription_id: UUID!
  ): String
}