# What’s Base64 encoding, and how is it used in Rapyd API methods?

**URL:** <https://community.rapyd.net/t/what-s-base64-encoding-and-how-is-it-used-in-rapyd-api-methods/214>\
**Category:** 🙋🏽‍♀️🙋🏽‍♂️ Ask Questions\
**Tags:** kb-article\
**Created:** [May 3, 2021, 12:21pm UTC](https://community.rapyd.net/t/what-s-base64-encoding-and-how-is-it-used-in-rapyd-api-methods/214 "2021-05-03T12:21:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Legato](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/legato/32/41_2.png) [@Legato](https://community.rapyd.net/u/Legato)\
**Post date:** [May 3, 2021, 12:21pm UTC](https://community.rapyd.net/t/what-s-base64-encoding-and-how-is-it-used-in-rapyd-api-methods/214/1 "2021-05-03T12:21:02Z")

</div>

Base64 is an encoding scheme that converts binary data to a sequence of characters. It is usually used to convert an image to a unique sequence of characters. For example, this image has been converted to a Base64 sequence of characters:

![license](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/1X/e3e4e707f24ca46185339c902a80d7e430c8ed3a.jpeg)

This [page](https://docs.rapyd.net/build-with-rapyd/reference/sample-image) includes the Base64 sequence of characters for this image.  
Rapyd supports Base64 encoding in API methods that require attaching documents. For example, the [Verify Identity](https://docs.rapyd.net/build-with-rapyd/reference/identity-verification-object#verify-identity) method includes a field for adding the front side of the customer’s ID as a Base-64 encoded image.

---

<div class="post-metadata">

**Author:** ![CharlesDorsett](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/charlesdorsett/32/47_2.png) [@CharlesDorsett](https://community.rapyd.net/u/CharlesDorsett)\
**Post date:** [May 26, 2021, 3:30pm UTC](https://community.rapyd.net/t/what-s-base64-encoding-and-how-is-it-used-in-rapyd-api-methods/214/2 "2021-05-26T15:30:26Z")

</div>

Base64 is also used in calculating the signature for API requests and for webhooks.

For more about webhooks, see [Webhook Signatures](https://docs.rapyd.net/build-with-rapyd/reference/webhooks#webhook-signatures).

For more about API requests, see [Request Signatures](https://docs.rapyd.net/build-with-rapyd/reference/message-security#request-signatures)
