Set the sender identity for one rung
THE STORE RUNG CARRIES NO ADDRESS. A store may override from_name and reply_to only; from_address is a tenant-level setting because the address is what SPF/DKIM alignment is proven against, and a per-store address would multiply the verification surface by the store count. Sending one with store_id is a 400.
config_version IS REQUIRED ON THE TENANT RUNG and must be the value the last GET returned. A mismatch is 409 settings_version_conflict rather than a silent overwrite of whatever a colleague saved in between.
CHANGING from_address RESTARTS VERIFICATION for the new domain; the response is a RE-READ rather than an echo, so the caller sees effective_from_address still on the platform address and domain.state back at pending immediately.
Authorization
bearerAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://sandbox.505pay.link/v1/marketplace/sender-identity" \ -H "Content-Type: application/json" \ -d '{ "from_name": "string", "reply_to": "string" }'{
"identity": {
"from_name": "string",
"from_address": "string",
"reply_to": "string",
"origin": "store",
"effective_from_address": "string",
"domain": {
"domain": "mardzuki.com",
"state": "pending",
"dkim_selector": "string",
"dkim_record": "string",
"spf_record": "string",
"last_checked_at": "2019-08-24T14:15:22Z",
"last_error": "string"
},
"config_version": 0
}
}{
"error": "not_found",
"message": "resource not found",
"request_id": "01916b2a-f3c0-7000-0000-0000000000ff"
}{
"error": "not_found",
"message": "resource not found",
"request_id": "01916b2a-f3c0-7000-0000-0000000000ff"
}{
"error": "not_found",
"message": "resource not found",
"request_id": "01916b2a-f3c0-7000-0000-0000000000ff"
}{
"error": "not_found",
"message": "resource not found",
"request_id": "01916b2a-f3c0-7000-0000-0000000000ff"
}{
"error": "not_found",
"message": "resource not found",
"request_id": "01916b2a-f3c0-7000-0000-0000000000ff"
}Was this page helpful?