{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/v3/debitcard/process/partner","auth":"required","method":"post","examples":{"codes":[{"language":"javascript","code":"curl -X POST \\\n  API_URL/v3/debitcard/process/partner \\\n  -H 'Authorization: Bearer WYRE_SECRET_KEY' \\\n  -H 'Content-Type: application/json' \\\n  -H 'cache-control: no-cache' \\\n  -d '{\n   \"debitCard\":{\n      \"number\":\"4111111111111111\",\n      \"year\":\"2023\",\n      \"month\":\"01\",\n      \"cvv\":\"123\"\n   },\n   \"reservationId\":\"\",\n   \"amount\":\"10\",\n   \"sourceCurrency\":\"USD\",\n   \"destCurrency\":\"BTC\",\n   \"dest\":\"bitcoin:tb1q6yn0ajs733xsk25vefrhwjey4629qt9c67y6ma\",\n   \"referrerAccountId\":\"AC_CVZ4AYV8CN8\", \n   \"givenName\":\"\",\n   \"familyName\":\"\",\n   \"email\":\"test.wyre:::at:::sendwyre.com\",\n   \"phone\":\"+14151234567\",\n    \"referenceId\": \"your_business_id\",\n   \"address\":{\n      \"street1\":\"\",\n      \"city\":\"\",\n      \"state\":\"\", // state code\n      \"postalCode\":\"\", // only numbers\n      \"country\":\"\"// alpha2 country code\n   }\n}'","name":"curl"}]},"results":{"codes":[{"name":"","code":"{\n    \"id\": \"WO_ELTUVYCAFPG\", --> waller order id\n    \"createdAt\": 1576263687643,  -- timestamp in UTC\n    \"owner\": \"account:AC_RNWQNRAZFPC\",\n    \"status\": \"PROCESSING\",\n    \"transferId\": \"TF_MDA6MAY848D\",\n    \"sourceAmount\": 1.84,\n    \"sourceCurrency\": \"USD\",\n    \"destCurrency\": \"ETH\",\n    \"dest\": \"ethereum:0x9E01E0E60dF079136a7a1d4ed97d709D5Fe3e341\",\n    \"walletType\": \"APPLE_PAY\",\n    \"transferId\": null,\n    \"email\": \"[email protected]\",\n    \"errorMessage\": null,\n    \"accountId\": \"AC_RNWQNRAZFPC\",\n    \"paymentMethodName\": \"Visa 2942\"\n}","language":"json","status":200}]},"settings":"","params":[{"name":"amount","type":"string","default":"","desc":"the order amount","required":false,"in":"body","ref":"","_id":"5df1ebd9f7bd6502401073e2"},{"name":"sourceCurrency","type":"string","default":"","desc":"the source currency to the supplied, valid values are USD, CAD, EUR, GBP and AUD","required":false,"in":"body","ref":"","_id":"5df1ebd9f7bd6502401073e1"},{"name":"destCurrency","type":"string","default":"","desc":"the destination currency to the supplied","required":false,"in":"body","ref":"","_id":"5df1ebd9f7bd6502401073e0"},{"name":"dest","type":"string","default":"","desc":"the funds destination for this order","required":false,"in":"body","ref":"","_id":"5df1ebd9f7bd6502401073df"},{"name":"givenName","type":"string","default":"","desc":"buyer's first name","required":false,"in":"body","ref":"","_id":"5e1e2fa8b407260011f2b4b9"},{"name":"familyName","type":"string","default":"","desc":"buyer's last name","required":false,"in":"body","ref":"","_id":"5e1e2fa8b407260011f2b4b8"},{"name":"phone","type":"string","default":"","desc":"a valid phone number in the E.164 format E.g +14151234567.  Must match your address country.","required":false,"in":"body","ref":"","_id":"5e1e2fa8b407260011f2b4b7"},{"name":"email","type":"string","default":"","desc":"a valid email address","required":false,"in":"body","ref":"","_id":"5e1e2fa8b407260011f2b4b6"},{"name":"address.country","type":"string","default":"","desc":"Country code (alpha2 country code)","required":false,"in":"body","ref":"","_id":"5e1e2fa8b407260011f2b4b5"},{"name":"address.postalCode","type":"string","default":"","desc":"valid us zipcode","required":false,"in":"body","ref":"","_id":"5e1e2fa8b407260011f2b4b4"},{"name":"address.state","type":"string","default":"","desc":"a valid state code, it must be two uppercase letter. Ex CA","required":false,"in":"body","ref":"","_id":"5e1e2fa8b407260011f2b4b3"},{"name":"address.city","type":"string","default":"","desc":"city name","required":false,"in":"body","ref":"","_id":"5e1e2fa8b407260011f2b4b2"},{"name":"address.street1","type":"string","default":"","desc":"valid street line","required":false,"in":"body","ref":"","_id":"5e1e2fa8b407260011f2b4b1"},{"name":"referrerAccountId","type":"string","default":"","desc":"Partner account id, must match the account id that created the reservation","required":false,"in":"body","ref":"","_id":"5f1a03a33a5bdc001e7428ef"},{"name":"reservationId","type":"string","default":"","desc":"A valid reservation id","required":false,"in":"body","ref":"","_id":"5f1a03a33a5bdc001e7428ee"},{"name":"debitCard.number","type":"string","default":"","desc":"debit card number","required":false,"in":"body","ref":"","_id":"5f1a03a33a5bdc001e7428ed"},{"name":"debitCard.year","type":"string","default":"","desc":"expiration year with 4 digits","required":false,"in":"body","ref":"","_id":"5f1a03a33a5bdc001e7428ec"},{"name":"debitCard.month","type":"string","default":"","desc":"2 digits month 00-12 (must be 2 digits, add 0 prefix if needed)","required":false,"in":"body","ref":"","_id":"5f1a03a33a5bdc001e7428eb"},{"name":"debitCard.cvv","type":"string","default":"","desc":"valid card cvv","required":false,"in":"body","ref":"","_id":"5f1a03a33a5bdc001e7428ea"},{"name":"referenceId","type":"string","default":"","desc":"[optional] your own business reference id","required":false,"in":"body","ref":"","_id":"5f46b8bd2480250d45af8a87"},{"name":"ipAddress","type":"string","default":"","desc":"End user's ip address","required":false,"in":"body","ref":"","_id":"6064cec5675ea5000f5c4c81"}]},"next":{"description":"","pages":[]},"title":"Card Processing","type":"endpoint","slug":"white-label-card-processing-api","excerpt":"Accept card payments using Wyre's API","body":"","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5f19ed59ca78080045e330ac","createdAt":"2020-07-23T20:04:41.549Z","user":"5dcd9f0b28d74f003b86eca6","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Card Processing","slug":"card-processing","order":4,"from_sync":false,"reference":false,"_id":"5f2768d05702ca0011f7655e","createdAt":"2020-08-03T01:30:56.397Z","version":"550f75de61d9d30d00af9e01","project":"550f74bb6fc8130d0038aad3","__v":0},"version":{"version":"3","version_clean":"3.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["550f75de61d9d30d00af9e02","551027e38579861900a86698","551029e08579861900a8669a","551029e7498062190006328a","5bc633a722d682005c9ad9e4","5bc633b08c4b0b000d6a7eaa","5bc633b48f3ff600626e3e18","5bc63538e5a6ba000d22ee6d","5bc63587a18a6b000decd295","5bc635c0937fcb0056223d9c","5bc6360f42f41800319aeaa6","5be5d13ff1d319002baca9ce","5be5d2287cd14d00291fbfdb","5be8b3b09f7cb70023c56a39","5be8b3cbb910100044e20206","5c1d769a4f6aed001fe527f0","5c402942010f0d001496dded","5e8127d61c906800374eeb1c","5f2768c98622b8005106544a","5f2768d05702ca0011f7655e","5f276e5348d2b600321aef9b","5f276fd300e519001139200a","5f9a2cb79dafe500259281a7","5fd92bf362bb7301b00e48ba","60ef489344d5cf002cd7414d"],"_id":"550f75de61d9d30d00af9e01","__v":25,"releaseDate":"2015-03-23T02:09:34.221Z","project":"550f74bb6fc8130d0038aad3","createdAt":"2015-03-23T02:09:34.221Z","forked_from":"550f74bb6fc8130d0038aad6"},"project":"550f74bb6fc8130d0038aad3","__v":39,"parentDoc":null}

postCard Processing

Accept card payments using Wyre's API

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

amount:
string
the order amount
sourceCurrency:
string
the source currency to the supplied, valid values are USD, CAD, EUR, GBP and AUD
destCurrency:
string
the destination currency to the supplied
dest:
string
the funds destination for this order
givenName:
string
buyer's first name
familyName:
string
buyer's last name
phone:
string
a valid phone number in the E.164 format E.g +14151234567. Must match your address country.
email:
string
a valid email address
address.country:
string
Country code (alpha2 country code)
address.postalCode:
string
valid us zipcode
address.state:
string
a valid state code, it must be two uppercase letter. Ex CA
address.city:
string
city name
address.street1:
string
valid street line
referrerAccountId:
string
Partner account id, must match the account id that created the reservation
reservationId:
string
A valid reservation id
debitCard.number:
string
debit card number
debitCard.year:
string
expiration year with 4 digits
debitCard.month:
string
2 digits month 00-12 (must be 2 digits, add 0 prefix if needed)
debitCard.cvv:
string
valid card cvv
referenceId:
string
[optional] your own business reference id
ipAddress:
string
End user's ip address

Examples


Result Format