Path Parameters
Body
The wallet address to update the agreement to. This will update the wallet address used for future payments and invoice generation.
"0xfc667b40851c3b1E50b31A8E9a206fa7934aCf64"
The token and network ID to update the agreement to. This will update both the token address and network ID used for future payments.
The status to update the agreement to
Canceled
The email address to update the agreement to. This will update the email address associated with the agreement and be used for notifications and communications.
"user@example.com"
(Optional) Whether the user is allowed to self cancel the agreement
true
(Optional) Whether the user is allowed to resubscribe to the agreement after it has been canceled
true
Response
Ok
The unique identifier for the agreement
"83aac889-da5b-4432-ac51-b05cf3ae2aac"
The blockchain wallet address that funds will originate from
"0x56be8cpbed39582aad0eaa6e8f2adb109152fb6c"
The blockchain network ID the agreement is associated with
Possible values:
1
(Ethereum)10
(Optimism)56
(BNB)137
(Polygon)8453
(Base)42220
(Celo)42161
(Arbitrum)900
(Solana)11155111
(Sepolia) - Only available for demo environment901
(Solana Devnet) - Only available on the demo environment
137
The email associated with the wallet
"testing@example.xyz"
The ID of the entity the agreement relates to
"911492f7-688d-11ed-9618-06613fde562"
The address of the ERC20 token authorized to be transferred
"0x07865c6E87B9F70255377e024ace6630C1Eaa37F"
The ID of the item the agreement relates to
"8199041b-a8c2-40ae-b90d-633d3eb59111"
Unix time in seconds that the record was created
1672423318
The current status of the agreement
Possible values:
1
(New)2
(Active)3
(Canceled)4
(One time purchase)5
(Cancellation has been scheduled (will be canceled at the end of the current billing period))
2
Unix time in seconds that the record was cancelled
1672761102
Unix time in seconds of the end of the agreement period
1672761534
The reason the agreement was cancelled
Possible values:
Cancelled by entity
Cancelled by wallet holder
Cancelled by auto cancel
Cancelled by Stripe
Cancelled by Loop support
Cancelled by API call
Disconnected from Stripe
"Cancelled by entity"
A custom reference ID that will be stored and returned via "SignedUp" and "Cancelled" webhooks
"user-42"
A percentage discount applied to the transfer amounts.
42
A Stripe or Chargebee Subscription ID
"sub_1ObTC0EsKlmFX3FHDjZnmim1"
A reference ID for the our users use
"mySpecialReference"
Cancellation source that denotes where the cancellation request originated from
Possible values:
1
(Loop Support)2
(Chargebee)3
(Stripe)4
(Company Dashboard)5
(Customer Portal)6
(API Call)7
(Auto Cancellation)8
(Legacy Cancellation)
3
Whether the user is allowed to self cancel the agreement via the customer portal
true
Whether the user is allowed to resubscribe to the agreement after it has been canceled via the customer portal
true
The payment method type associated with this agreement