Developers

nTokens API uses SEP-1, SEP-10 and SEP-24.

SEP-6, SEP-12 and SEP-31 are fully supported, however require previous partner approval.

For a better understanding of the workflow, please start reading SEP-24 specs (SEP-24).

The following guide is a real step-by-step transaction with expected inputs and outputs.

**instruction:** Check the stellar.toml to find the necessary information about the transfer server

Stellar TOML is defined on SEP-0001 (SEP-1)

**outgoing:** https://ntokens.com/.well-known/stellar.toml

**incoming:** https://ntokens.com/.well-known/stellar.toml

{

"ACCOUNTS": [

"GDKL5TOWWAVLJ2WRAUQS2QJEAGHEDJFXFEPQFB6LKW2WRB257BVLLMT6"

],

"VERSION": "0.1.0",

"SIGNING_KEY": "GDKL5TOWWAVLJ2WRAUQS2QJEAGHEDJFXFEPQFB6LKW2WRB257BVLLMT6",

"NETWORK_PASSPHRASE": "Public Global Stellar Network ; September 2015",

"TRANSFER_SERVER": "https://stellaranchor.ntokens.com.br/sep6",

"TRANSFER_SERVER_SEP0024": "https://stellaranchor.ntokens.com.br/sep24",

"WEB_AUTH_ENDPOINT": "https://stellaranchor.ntokens.com.br/auth",

"KYC_SERVER": "https://stellaranchor.ntokens.com.br/kyc",

"DIRECT_PAYMENT_SERVER": "https://stellaranchor.ntokens.com.br/sep31",

"CURRENCIES": [

{

"code": "BRL",

"issuer": "GDVKY2GU2DRXWTBEYJJWSFXIGBZV6AZNBVVSUHEPZI54LIS6BA7DVVSP",

"is_asset_anchored": true,

"anchor_asset_type": "fiat",

"anchor_asset": "BRL",

"anchored_asset_type": "fiat",

"status": "live",

"name": "Brazilian Real",

"desc": "Brazilian Real",

"image": "https://ntokens.com/img/brl-icon.png"

}

],

"DOCUMENTATION": {

"ORG_NAME": "nTokens Serviços Digitais Ltda",

"ORG_URL": "https://ntokens.com",

"ORG_DESCRIPTION": "nTokens - Brazilian Real (BRL) Currency Anchor",

"ORG_TWITTER": "ntokens_br",

"ORG_GITHUB": "ntokens",

"ORG_OFFICIAL_EMAIL": "contact@ntokens.com",

"ORG_PHYSICAL_ADDRESS": "Sao Paulo, SP, Brazil"

}

}

**instruction:** Received WEB_AUTH_ENDPOINT from TOML: https://stellaranchor.ntokens.com.br/auth

**instruction:** Received TRANSFER_SERVER from TOML: https://stellaranchor.ntokens.com.br/sep24

**instruction:** Received asset issuer from TOML: GDVKY2GU2DRXWTBEYJJWSFXIGBZV6AZNBVVSUHEPZI54LIS6BA7DVVSP

**instruction:** Check /info endpoint to see if we need to authenticate

**outgoing:** GET /info

**incoming:** GET /info response

{

"deposit": {

"BRL": {

"enabled": true,

"min_amount": 10,

"max_amount": 30000

}

},

"withdraw": {

"BRL": {

"enabled": true,

"min_amount": 10,

"max_amount": 30000

}

},

"fee": {

"enabled": true

},

"transactions": {

"enabled": true

},

"transaction": {

"enabled": true

}

}

**instruction:** Withdraw is enabled, and requires authentication so we should go through SEP-0010

**instruction:** Start the SEP-0010 flow to authenticate the wallet's Stellar account

SEP-0010 specification (SEP-10)

**outgoing:** GET /auth

{

"account": "GBXGQUSK7FNJK6ZTFFBRPYBZ2ZK6KUFVUFIOW5AUOLYY7SPJUO74GV4O"

}

**incoming:** GET /auth

{

"transaction": "AAAAAgAAAADUvs3WsCq06tEFIS1BJAGOQaS3KR8Ch8tVtWiHXfhqtQAAAGQAAAAAAAAAAAAAAAEAAAAAX6gWgQAAAABfqBoFAAAAAAAAAAEAAAABAAAAAG5oUkr5WpV7MylDF+A51lXlULWhUOt0FHLxj8npo7/DAAAACgAAACFzdGVsbGFyYW5jaG9yLm50b2tlbnMuY29tLmJyIGF1dGgAAAAAAAABAAAAQEJhL0poaHNCUHZRMWFxbnJQRE5FaHZ0WjZ3Z3ZyQ1RoUldSUWtqQXI2MWNFZHBHUmo3ZUYyTmV3Nm1qdVZLMWYAAAAAAAAAAV34arUAAABAD12/bKdUNNTmhrsACNc6FQcA2O+s978pfT9IanPRTlLe3TSmbxv1JodNumheO/Bn+v9E2GTI+ZxNjOqzzO/kDw==",

"network_passphrase": "Public Global Stellar Network ; September 2015"

}

**instruction:** We've received a challenge transaction from the server that we need the client to sign with our Stellar account.

**informational:** SEP-0010 Signed Transaction

{

"_networkPassphrase": "Public Global Stellar Network ; September 2015",

"_tx": {

"_attributes": {

"sourceAccount": {

"_switch": {

"name": "keyTypeEd25519",

"value": 0

},

"_arm": "ed25519",

"_armType": {

"_length": 32,

"_padding": 0

},

"_value": {

"type": "Buffer",

"data": [

212,

190,

205,

214,

176,

42,

180,

234,

209,

5,

33,

45,

65,

36,

1,

142,

65,

164,

183,

41,

31,

2,

135,

203,

85,

181,

104,

135,

93,

248,

106,

181

]

}

},

"fee": 100,

"seqNum": {

"low": 0,

"high": 0,

"unsigned": false

},

"timeBounds": {

"_attributes": {

"minTime": {

"low": 1604851329,

"high": 0,

"unsigned": true

},

"maxTime": {

"low": 1604852229,

"high": 0,

"unsigned": true

}

}

},

"memo": {

"_switch": {

"name": "memoNone",

"value": 0

},

"_arm": {},

"_armType": {}

},

"operations": [

{

"_attributes": {

"sourceAccount": {

"_switch": {

"name": "keyTypeEd25519",

"value": 0

},

"_arm": "ed25519",

"_armType": {

"_length": 32,

"_padding": 0

},

"_value": {

"type": "Buffer",

"data": [

110,

104,

82,

74,

249,

90,

149,

123,

51,

41,

67,

23,

224,

57,

214,

85,

229,

80,

181,

161,

80,

235,

116,

20,

114,

241,

143,

201,

233,

163,

191,

195

]

}

},

"body": {

"_switch": {

"name": "manageDatum",

"value": 10

},

"_arm": "manageDataOp",

"_value": {

"_attributes": {

"dataName": {

"type": "Buffer",

"data": [

115,

116,

101,

108,

108,

97,

114,

97,

110,

99,

104,

111,

114,

46,

110,

116,

111,

107,

101,

110,

115,

46,

99,

111,

109,

46,

98,

114,

32,

97,

117,

116,

104

]

},

"dataValue": {

"type": "Buffer",

"data": [

66,

97,

47,

74,

104,

104,

115,

66,

80,

118,

81,

49,

97,

113,

110,

114,

80,

68,

78,

69,

104,

118,

116,

90,

54,

119,

103,

118,

114,

67,

84,

104,

82,

87,

82,

81,

107,

106,

65,

114,

54,

49,

99,

69,

100,

112,

71,

82,

106,

55,

101,

70,

50,

78,

101,

119,

54,

109,

106,

117,

86,

75,

49,

102

]

}

}

}

}

}

}

],

"ext": {

"_switch": 0,

"_arm": {},

"_armType": {}

}

}

},

"_signatures": [

{

"_attributes": {

"hint": {

"type": "Buffer",

"data": [

93,

248,

106,

181

]

},

"signature": {

"type": "Buffer",

"data": [

15,

93,

191,

108,

167,

84,

52,

212,

230,

134,

187,

0,

8,

215,

58,

21,

7,

0,

216,

239,

172,

247,

191,

41,

125,

63,

72,

106,

115,

209,

78,

82,

222,

221,

52,

166,

111,

27,

245,

38,

135,

77,

186,

104,

94,

59,

240,

103,

250,

255,

68,

216,

100,

200,

249,

156,

77,

140,

234,

179,

204,

239,

228,

15

]

}

}

},

{

"_attributes": {

"hint": {

"type": "Buffer",

"data": [

233,

163,

191,

195

]

},

"signature": {

"type": "Buffer",

"data": [

45,

52,

115,

193,

44,

23,

88,

138,

220,

8,

109,

205,

133,

225,

225,

164,

123,

97,

170,

201,

14,

82,

47,

48,

249,

173,

228,

6,

116,

98,

162,

179,

150,

109,

45,

136,

41,

26,

60,

235,

180,

254,

5,

238,

46,

255,

25,

77,

229,

246,

147,

37,

139,

21,

69,

224,

227,

112,

163,

223,

185,

42,

25,

6

]

}

}

}

],

"_fee": "100",

"_envelopeType": {

"name": "envelopeTypeTx",

"value": 2

},

"_memo": {

"_switch": {

"name": "memoNone",

"value": 0

},

"_arm": {},

"_armType": {}

},

"_sequence": "0",

"_source": "GDKL5TOWWAVLJ2WRAUQS2QJEAGHEDJFXFEPQFB6LKW2WRB257BVLLMT6",

"_timeBounds": {

"minTime": "1604851329",

"maxTime": "1604852229"

},

"_operations": [

{

"source": "GBXGQUSK7FNJK6ZTFFBRPYBZ2ZK6KUFVUFIOW5AUOLYY7SPJUO74GV4O",

"type": "manageData",

"name": "stellaranchor.ntokens.com.br auth",

"value": {

"type": "Buffer",

"data": [

66,

97,

47,

74,

104,

104,

115,

66,

80,

118,

81,

49,

97,

113,

110,

114,

80,

68,

78,

69,

104,

118,

116,

90,

54,

119,

103,

118,

114,

67,

84,

104,

82,

87,

82,

81,

107,

106,

65,

114,

54,

49,

99,

69,

100,

112,

71,

82,

106,

55,

101,

70,

50,

78,

101,

119,

54,

109,

106,

117,

86,

75,

49,

102

]

}

}

]

}

**informational:** Base64 Encoded

"AAAAAgAAAADUvs3WsCq06tEFIS1BJAGOQaS3KR8Ch8tVtWiHXfhqtQAAAGQAAAAAAAAAAAAAAAEAAAAAX6gWgQAAAABfqBoFAAAAAAAAAAEAAAABAAAAAG5oUkr5WpV7MylDF+A51lXlULWhUOt0FHLxj8npo7/DAAAACgAAACFzdGVsbGFyYW5jaG9yLm50b2tlbnMuY29tLmJyIGF1dGgAAAAAAAABAAAAQEJhL0poaHNCUHZRMWFxbnJQRE5FaHZ0WjZ3Z3ZyQ1RoUldSUWtqQXI2MWNFZHBHUmo3ZUYyTmV3Nm1qdVZLMWYAAAAAAAAAAl34arUAAABAD12/bKdUNNTmhrsACNc6FQcA2O+s978pfT9IanPRTlLe3TSmbxv1JodNumheO/Bn+v9E2GTI+ZxNjOqzzO/kD+mjv8MAAABALTRzwSwXWIrcCG3NheHhpHthqskOUi8w+a3kBnRiorOWbS2IKRo867T+Be4u/xlN5faTJYsVReDjcKPfuSoZBg=="

**instruction:** We need to send the signed SEP10 challenge back to the server to get a JWT token to authenticate our stellar account with future actions

**outgoing:** POST /auth

{

"transaction": "AAAAAgAAAADUvs3WsCq06tEFIS1BJAGOQaS3KR8Ch8tVtWiHXfhqtQAAAGQAAAAAAAAAAAAAAAEAAAAAX6gWgQAAAABfqBoFAAAAAAAAAAEAAAABAAAAAG5oUkr5WpV7MylDF+A51lXlULWhUOt0FHLxj8npo7/DAAAACgAAACFzdGVsbGFyYW5jaG9yLm50b2tlbnMuY29tLmJyIGF1dGgAAAAAAAABAAAAQEJhL0poaHNCUHZRMWFxbnJQRE5FaHZ0WjZ3Z3ZyQ1RoUldSUWtqQXI2MWNFZHBHUmo3ZUYyTmV3Nm1qdVZLMWYAAAAAAAAAAl34arUAAABAD12/bKdUNNTmhrsACNc6FQcA2O+s978pfT9IanPRTlLe3TSmbxv1JodNumheO/Bn+v9E2GTI+ZxNjOqzzO/kD+mjv8MAAABALTRzwSwXWIrcCG3NheHhpHthqskOUi8w+a3kBnRiorOWbS2IKRo867T+Be4u/xlN5faTJYsVReDjcKPfuSoZBg=="

}

**incoming:** POST /auth

{

"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3N0ZWxsYXJhbmNob3IubnRva2Vucy5jb20uYnIvYXV0aCIsInN1YiI6IkdCWEdRVVNLN0ZOSks2WlRGRkJSUFlCWjJaSzZLVUZWVUZJT1c1QVVPTFlZN1NQSlVPNzRHVjRPIiwiaWF0IjoxNjA0ODUxMzMwLjQ4MjgyOTMsImV4cCI6MTYwNDkzNzczMC40ODI4MjkzLCJqdGkiOiJmMWI1YjIxYmJhYzcxODE3OWJlOWRiYmNjMTFlZjY0MGEwZTMzOTUzZTRkZmZkMTg5YTBhMTEwNDZhZjBhYzYxIn0.Hbp9pvND8TPD62Nbbp519vKq8ZHs2XWstI5f14LvDEE"

}

**instruction:** To get the url for the interactive flow, check the /withdraw endpoint

**outgoing:** POST /transactions/withdraw/interactive

{

"asset_code": "BRL",

"account": "GBXGQUSK7FNJK6ZTFFBRPYBZ2ZK6KUFVUFIOW5AUOLYY7SPJUO74GV4O"

}

**incoming:** POST /transactions/withdraw/interactive

{

"type": "interactive_customer_info_needed",

"url": "https://stellaranchor.ntokens.com.br/sep24/transactions/withdraw/webapp?asset_code=BRL&transaction_id=fec44cd4-f5b1-4fb5-8d40-6fe0d528e363&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3N0ZWxsYXJhbmNob3IubnRva2Vucy5jb20uYnIvc2VwMjQvdHJhbnNhY3Rpb25zL3dpdGhkcmF3L2ludGVyYWN0aXZlIiwiaWF0IjoxNjA0ODUxMzMwLjkwODE3MjYsImV4cCI6MTYwNDg1MTM2MC45MDgxNzI2LCJzdWIiOiJHQlhHUVVTSzdGTkpLNlpURkZCUlBZQloyWks2S1VGVlVGSU9XNUFVT0xZWTdTUEpVTzc0R1Y0TyIsImp0aSI6ImZlYzQ0Y2Q0LWY1YjEtNGZiNS04ZDQwLTZmZTBkNTI4ZTM2MyJ9.3_qM0MZwJ3zHym1Xp9sGB_EInmkQRIiREwTdHhjm50Y",

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363"

}

**instruction:** GET /withdraw tells us we need to collect info interactively. The URL for the interactive portion is https://stellaranchor.ntokens.com.br/sep24/transactions/withdraw/webapp?asset_code=BRL&transaction_id=fec44cd4-f5b1-4fb5-8d40-6fe0d528e363&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3N0ZWxsYXJhbmNob3IubnRva2Vucy5jb20uYnIvc2VwMjQvdHJhbnNhY3Rpb25zL3dpdGhkcmF3L2ludGVyYWN0aXZlIiwiaWF0IjoxNjA0ODUxMzMwLjkwODE3MjYsImV4cCI6MTYwNDg1MTM2MC45MDgxNzI2LCJzdWIiOiJHQlhHUVVTSzdGTkpLNlpURkZCUlBZQloyWks2S1VGVlVGSU9XNUFVT0xZWTdTUEpVTzc0R1Y0TyIsImp0aSI6ImZlYzQ0Y2Q0LWY1YjEtNGZiNS04ZDQwLTZmZTBkNTI4ZTM2MyJ9.3_qM0MZwJ3zHym1Xp9sGB_EInmkQRIiREwTdHhjm50Y

**instruction:** Check to ensure this new transaction shows up in the transactions list

**outgoing:** GET https://stellaranchor.ntokens.com.br/sep24/transactions?asset_code=BRL&no_older_than=2020-11-08T16:02:05.895Z

**incoming:** GET /transactions

{

"transactions": [

{

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"kind": "withdrawal",

"status": "incomplete",

"status_eta": null,

"amount_in": null,

"amount_out": null,

"amount_fee": null,

"started_at": "2020-11-08T16:02:10.904956Z",

"completed_at": null,

"stellar_transaction_id": null,

"external_transaction_id": null,

"more_info_url": "https://stellaranchor.ntokens.com.br/sep24/transaction/more_info?id=fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"refunded": false,

"message": "incomplete",

"to": null,

"from": null,

"withdraw_memo_type": "hash",

"withdraw_memo": null,

"withdraw_anchor_account": "GDKL5TOWWAVLJ2WRAUQS2QJEAGHEDJFXFEPQFB6LKW2WRB257BVLLMT6"

}

]

}

**instruction:** To collect the interactive information we launch the interactive URL in a iframe and await payment details from a postMessage callback

**action:** Launching interactive webapp at https://stellaranchor.ntokens.com.br/sep24/transactions/withdraw/webapp?asset_code=BRL&transaction_id=fec44cd4-f5b1-4fb5-8d40-6fe0d528e363&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3N0ZWxsYXJhbmNob3IubnRva2Vucy5jb20uYnIvc2VwMjQvdHJhbnNhY3Rpb25zL3dpdGhkcmF3L2ludGVyYWN0aXZlIiwiaWF0IjoxNjA0ODUxMzMwLjkwODE3MjYsImV4cCI6MTYwNDg1MTM2MC45MDgxNzI2LCJzdWIiOiJHQlhHUVVTSzdGTkpLNlpURkZCUlBZQloyWks2S1VGVlVGSU9XNUFVT0xZWTdTUEpVTzc0R1Y0TyIsImp0aSI6ImZlYzQ0Y2Q0LWY1YjEtNGZiNS04ZDQwLTZmZTBkNTI4ZTM2MyJ9.3_qM0MZwJ3zHym1Xp9sGB_EInmkQRIiREwTdHhjm50Y&callback=postMessage and watching for postMessage callback

**incoming:** postMessage: Interactive webapp completed

{

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"kind": "withdrawal",

"status": "pending_user_transfer_start",

"status_eta": null,

"amount_in": "10.00",

"amount_out": null,

"amount_fee": null,

"started_at": "2020-11-08T16:02:10.904956Z",

"completed_at": null,

"stellar_transaction_id": null,

"external_transaction_id": null,

"more_info_url": "https://stellaranchor.ntokens.com.br/sep24/transaction/more_info?id=fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"refunded": false,

"message": "waiting on the user to transfer funds",

"to": null,

"from": null,

"withdraw_memo_type": "hash",

"withdraw_memo": "AAAAAAAAAAAAAAAAAAAAAP7ETNT1sU+1jUBv4NUo42M=",

"withdraw_anchor_account": "GDKL5TOWWAVLJ2WRAUQS2QJEAGHEDJFXFEPQFB6LKW2WRB257BVLLMT6"

}

**instruction:** The user needs to confirm payment in the UI

**instruction:** Now that the anchor is expecting payment to a stellar address, we need to make that payment

**outgoing:** Sending the payment using the following anchor account info

{

"address": "GDKL5TOWWAVLJ2WRAUQS2QJEAGHEDJFXFEPQFB6LKW2WRB257BVLLMT6",

"memo": "AAAAAAAAAAAAAAAAAAAAAP7ETNT1sU+1jUBv4NUo42M=",

"memo_type": "hash"

}

**instruction:** Start polling the bridge for success

**outgoing:** GET /transaction

{

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363"

}

**incoming:** GET /transaction

{

"transaction": {

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"kind": "withdrawal",

"status": "pending_user_transfer_start",

"status_eta": null,

"amount_in": "10.00",

"amount_out": null,

"amount_fee": null,

"started_at": "2020-11-08T16:02:10.904956Z",

"completed_at": null,

"stellar_transaction_id": null,

"external_transaction_id": null,

"more_info_url": "https://stellaranchor.ntokens.com.br/sep24/transaction/more_info?id=fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"refunded": false,

"message": "waiting on the user to transfer funds",

"to": null,

"from": null,

"withdraw_memo_type": "hash",

"withdraw_memo": "AAAAAAAAAAAAAAAAAAAAAP7ETNT1sU+1jUBv4NUo42M=",

"withdraw_anchor_account": "GDKL5TOWWAVLJ2WRAUQS2QJEAGHEDJFXFEPQFB6LKW2WRB257BVLLMT6"

}

}

**instruction:** Status is pending_user_transfer_start, lets retry in 2s

**outgoing:** GET /transaction

{

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363"

}

**incoming:** GET /transaction

{

"transaction": {

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"kind": "withdrawal",

"status": "pending_anchor",

"status_eta": 0,

"amount_in": "10.00",

"amount_out": null,

"amount_fee": null,

"started_at": "2020-11-08T16:02:10.904956Z",

"completed_at": null,

"stellar_transaction_id": "cb95c1bf71828b2e992a5f06b12e6f6306fe3a361ae1c125a512680628d5c34b",

"external_transaction_id": null,

"more_info_url": "https://stellaranchor.ntokens.com.br/sep24/transaction/more_info?id=fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"refunded": false,

"message": "Processing",

"to": null,

"from": null,

"withdraw_memo_type": "hash",

"withdraw_memo": "AAAAAAAAAAAAAAAAAAAAAP7ETNT1sU+1jUBv4NUo42M=",

"withdraw_anchor_account": "GDKL5TOWWAVLJ2WRAUQS2QJEAGHEDJFXFEPQFB6LKW2WRB257BVLLMT6"

}

}

*

**instruction:** Status is pending_external, lets retry in 2s

**outgoing:** GET /transaction

{

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363"

}

**incoming:** GET /transaction

{

"transaction": {

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"kind": "withdrawal",

"status": "pending_external",

"status_eta": 0,

"amount_in": "10.00",

"amount_out": "10.00",

"amount_fee": "0.00",

"started_at": "2020-11-08T16:02:10.904956Z",

"completed_at": null,

"stellar_transaction_id": "cb95c1bf71828b2e992a5f06b12e6f6306fe3a361ae1c125a512680628d5c34b",

"external_transaction_id": null,

"more_info_url": "https://stellaranchor.ntokens.com.br/sep24/transaction/more_info?id=fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"refunded": false,

"message": "waiting on an external entity",

"to": null,

"from": null,

"withdraw_memo_type": "hash",

"withdraw_memo": "AAAAAAAAAAAAAAAAAAAAAP7ETNT1sU+1jUBv4NUo42M=",

"withdraw_anchor_account": "GDKL5TOWWAVLJ2WRAUQS2QJEAGHEDJFXFEPQFB6LKW2WRB257BVLLMT6"

}

}

**instruction:** Status is pending_external, lets retry in 2s

**outgoing:** GET /transaction

{

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363"

}

**incoming:** GET /transaction

{

"transaction": {

"id": "fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"kind": "withdrawal",

"status": "completed",

"status_eta": 0,

"amount_in": "10.00",

"amount_out": "10.00",

"amount_fee": "0.00",

"started_at": "2020-11-08T16:02:10.904956Z",

"completed_at": "2020-11-08T16:03:06.902093Z",

"stellar_transaction_id": "cb95c1bf71828b2e992a5f06b12e6f6306fe3a361ae1c125a512680628d5c34b",

"external_transaction_id": null,

"more_info_url": "https://stellaranchor.ntokens.com.br/sep24/transaction/more_info?id=fec44cd4-f5b1-4fb5-8d40-6fe0d528e363",

"refunded": false,

"message": "complete",

"to": null,

"from": null,

"withdraw_memo_type": "hash",

"withdraw_memo": "AAAAAAAAAAAAAAAAAAAAAP7ETNT1sU+1jUBv4NUo42M=",

"withdraw_anchor_account": "GDKL5TOWWAVLJ2WRAUQS2QJEAGHEDJFXFEPQFB6LKW2WRB257BVLLMT6"

}

}

**instruction:** Success!