Skip to content

Commit

Permalink
README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinx committed Jun 20, 2022
1 parent 945656c commit b406ac5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ Upon visiting the URL, your customer is presented with a checkout page hosted on
client.post('/checkout/hosted',
{
charge:{
customerId: customerId, // associates this charge with a customer
billingCurrency: 'USD', // specifies the billing currency
customerId: customerId, // associates this charge with a customer as crated by POST /customer
billingCurrency: 'USD', // a billing currency as given by GET /currencies
lineItems: [{ // a list of line items included in this charge
description: 'T-Shirt',
netAmount: 10,
Expand All @@ -98,7 +98,7 @@ client.post('/checkout/hosted',
percent: 0.0825 // 8.25% CA sales tax
}]
},
settlementAsset: 'USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN' // specifies the asset you want to be credited in when the checkout completes
settlementAsset: 'USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN' // your settlement asset as given by GET /assets (or ORIGIN to omit conversion)
},
function (response) {

Expand Down Expand Up @@ -171,7 +171,7 @@ client.post('/withdrawal',
{
sourceAsset: 'USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN', // withdraw from your USDC wallet
sourceAmount: 100,
targetNetwork: 'BITCOIN', // send to a Bitcoin address
targetNetwork: 'BITCOIN', // a target network as given by GET /networks
targetAccount: {
address: 'bc1qj633nx575jm28smgcp3mx6n3gh0zg6ndr0ew23'
}
Expand All @@ -189,7 +189,7 @@ client.post('/withdrawal',
{
sourceAsset: 'USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN', // withdraw from your USDC wallet
sourceAmount: 100,
targetNetwork: 'STELLAR', // send to a Stellar account
targetNetwork: 'STELLAR', // a target network as given by GET /networks
targetAccount: {
account: 'GDONUHZKLSYLDOZWR2TDW25GFXOBWCCKTPK34DLUVSOMFHLGURX6FNU6',
memo: 'Exodus',
Expand Down

0 comments on commit b406ac5

Please sign in to comment.